remote-access
How to remotely update Python applications
If you’re not already packaging your program with InnoSetup, I strongly recommend you switch to it, because it has facilities to make this sort of thing easier. You can specify any special situations, such as files that should not be updated if they already exist (i.e. if you have any internal configuration files or things … Read more
Write SSH command over multiple lines
ssh is in fact just passing a string to the remote host. There this string is given to a shell which is supposed to interpret it (the user’s login shell, which is typically something like bash). So whatever you want to execute needs to be interpretable by that remote login shell, that’s the whole rule … Read more
Current state and solutions for OpenGL over Windows Remote [closed]
According to this article it seems that now RDP handles newer versions of Direct3D and OpenGL on Windows 10 and Windows Server 2016, but by default it is disabled by Group Policy. I suppose that for performance reasons, using a hardware graphics card is disabled, and RDP uses a software-emulated graphics card driver that provides … Read more
How to run a jupyter notebook through a remote server on local machine?
There’s quite a good tutorial here Essentially you just run the notebook on the remote in no browser mode. jupyter notebook –no-browser –port=8080 Then setup up an ssh tunnel from the local machine: ssh -L 8080:localhost:8080 <REMOTE_USER>@<REMOTE_HOST> Then in your local browser go to: http://localhost:8080/ EDIT: Running on a specific port is not necessary. The … Read more
Get current user’s credentials object in Powershell without prompting
The Windows API will not expose the information you need, which is why Powershell can’t get to them. Its an intentional feature of the security subsystem. The only way for this to work is for the Linux machines to trust the calling machine, such as joining them to an Active Directory (or any kerberos setup … Read more
Run MySQL query on remote machine through ssh in command line
Try this: mysql -h host -u root -proot -e “show databases;”;
ERROR 2003 (HY000): Can’t connect to MySQL server (111)
Please check your listenning ports with : netstat -nat |grep :3306 If it show tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN Thats is ok for your remote connection. But in this case i think you have tcp 0 192.168.1.3:3306 0.0.0.0:* LISTEN Thats is ok for your remote connection. You should also check your firewall (iptables if … Read more
Where can I get a virtual machine online? [closed]
koding.com has a free VM running Ubuntu. The specs are pretty good, 1 gig memory for example. They have a terminal online you can access through their website, or use SSH. The VM will go to sleep approximately 20 minutes after you log out. The reason is to discourage users from running live production code … Read more
How to list all files in a remote SVN repository?
This lists all files recursively: svn ls -R URL-OF-REPO