SSH Into GAE Standard Environment Instance - google-app-engine

Has GCP made any updates yet that allow you to SSH into your GAE Instance when it's running on a Standard environment? I see a post from 2+ years ago saying this is not possible. Is that still so today?
Running in Flex environment ends up being $150/mo, and we have no reason to do that just for SSH access. It seems wild to me that Standard environment would not allow a way to SSH into your machine. Need to confirm before I switch providers that this is not possible

Google App Engine Standard does not support SSH.
SSH requires a server to listen for connections from clients. App Engine Standard does not provide an operating system - only a framework. The SSH protocol is not part of that framework. There are other very popular services such as Cloud Run that also do not support SSH access.
SSH also requires a subsystem to store SSH keys and some form of identity. Those features are also not part of the App Engine Standard framework. Once logged in, SSH requires a command prompt, a set of tools that you can run from the command prompt, etc. Those features would dramatically change the environment.
If you require SSH access, then you will need to choose a service that provides that feature. As that usually requires an OS to support an SSH server, the costs are different.

Related

Connection string works in .NET Core app but not UWP app [duplicate]

I wrote a UWP-App and after generating and installing the .appxbundle, every time I start the App I get a net_http_client_execution_error. The App is starting and running fine, when started in Visual Studio 2015. So there is no chance for me to get the problem, if I debug the app.
Update:
By default Windows restricts apps to reach the localhost (127.0.0.1). I have running a couch database there. This couch database should run there for our costumers as well.
Is it possible to allow a App to reach the localhost (enable local network loopback)?
For a line of business app use the checknetisolation.exe tool to grant the app a loopback exception.
To enable loopback use this command:
c:\>checknetisolation loopbackexempt -a -n=<package family name>
To disable loopback use this command:
c:\>checknetisolation loopbackexempt -d -n=<package family name>
The package family name for a UWP app can be found in several places: Visual Studio shows it in Package.appxmanifest editor on the packaging tab, PowerShell's get-appxpackage cmdlet displays it, etc. It will look something like "MyPackage_edj12ye0wwgwa"
In some cases loopback exemption will work for some time and then stop working. In this case you might need to run the following command to clean/remove all exemptions and then add them back one by one to get back in a good state. (from Pawel Sledzikowski's comment)
c:\>checknetisolation loopbackexempt -c
There is a whitepaper with more details at https://msdn.microsoft.com/en-us/library/windows/apps/dn640582.aspx

Database hosting, control from RPi python console

I tried a free account in pythonanywhere.
Hosted a free mysql database.
Created a database.
They have a online python console in which we should control mysql, I want to control it from my python raspberry Pi console, is this even possible?
I tried to connect, but it failed.
My ultimate aim is to get data from raspberry Pi and store it in a real time database, the data base should be controlled from my python program.
Suggest me any better way...
This is a part of my project, not any commercial thing.
Because of security reasons, databases are generally never open to the internet. (eg: https://support.cloud.engineyard.com/hc/en-us/articles/205408088-Access-Your-Database-Remotely-Through-an-SSH-Tunnel)
PythonAnywhere has it setup so that you need to use ssh tunnelling to connect to your db from an external place.
See https://help.pythonanywhere.com/pages/SSHTunnelling/
What you need to do is
ssh -L 3306:mysql.server:3306 username#ssh.pythonanywhere.com
ssh -L 3333:mysql.server:3306 username#ssh.pythonanywhere.com

IDE with remote build feature that is compatible with MIT Kerberos

I'm using cluster resources from my academic provider (PDC, Sweden) that uses the MIT-Kerberos authentication protocol for the users to sign in securely.
I'm also using Netbeans to develop C and Fortran code. Netbeans has a feature that lets you build your code on a remote host while you are working on your localhost/Desktop machine. Naturally, this feature requires you to log into your remotehost.
Since Netbeans is using its own SSH client, I cannot connect to the above mentioned remotehost even if I have a valid Kerberos ticket. I have googled this issue, but couldn't find anything related to it.
Has anybody else had a similar issue?
Does anybody know of an IDE for C/Fortran that has a build on remotehost feature and is capable of using the Kerberos protocol?
Eclipse with the Photran plugin are commonly mentioned. I never used it myself, but Eclipse should also support authentication via Kerberos.
See here for more on Eclipse and SSH.

Guidelines to follow when making your program Active Directory/Terminal Services compatible

Wondering if there's any guidelines that should be followed when writing an application that should work not only on a plain ol' non-networked computer but also on a computer/network that is setup with Active Directory (or some other directory service) and/or Terminal Services? Anything I should look out for, be aware of, etc?
Microsoft has renamed Terminal Services to 'Remote Desktop Services' so searching and looking around MSDN my not be as constructive using the old terminology.
I'd start having a look around Remote Desktop Services Programming Guidelines found here:
http://msdn.microsoft.com/en-us/library/aa383490(VS.85).aspx
On the AD site a starting point would be here:
[http://msdn.microsoft.com/en-us/library/ms682458(VS.85).aspx][2]
The most important things to be aware of:
On a Terminal Server users are not admins, they have no rights to:
Write in Program files folder
Register ActiveX controls
Write into (ini files) in Windows(\System32)
HKLM hive of the registry
Some other points:
- Certain API's like getting the Windows directory will return redirected results (in this case the windows subfolder of the homedrive) UNLESS you mark your executable as Terminal Server aware
- Your application must not rely on settings in HKCU that prevent startup when not present
- Multiple users might use your app concurrently so each user must be able to have their own settings (in HKCU)

Hosting Multiple Domains on Same Server Port with Apache2

How do I configure Apache2 via webmin or command-line (I'm using RHEL5 Linux) so that I can have multiple domains on the same server on the same port but in different subdirectories?
For instance, trying to get homerentals.ws and homerepair.ws to be detected on port 80 (default port) on the same server. I know that my DNS holds the two addresses and web hits currently go to the same test page. Now all I need is for web hits to go to a subdirectory, but not show this subdirectory. For instance, I do not want people going to http://homerentals.ws and being redirected back to http://homerentals.ws/homerentals/. Instead, http://homerentals.ws would go to /var/www/html/homerentals, while http://homerepair.ws would go to var/www/html/homerepair, but would not look any differently in the URL.
On IIS, I did this once with host-header detection. But I don't know how to do it on RHEL5 Linux via webmin or file editing. I'm stuck.
The feature you're describing is known as virtual hosts. Have a look at Apache's documentation. In general you need to edit /etc/apache2/httpd.conf file to make things happen (maybe it can be edited through webmin, but I'm not familiar with it).

Resources