Hot answers tagged ssh
once you have pseudo terminal (e.g.pts/0 ), you can see all running programs, connected to pts/0, with ps -f -t pts/0 or ps -ft pts/0,pts/7,pts/12 for multiple tty (connected to 0, 7 and 12). as in archemar@abox:~/tmp7$ ps -t tty1,pts/2 -f UID PID PPID C STIME TTY TIME CMD root 313 64261 0 10:54 pts/2 00:00:00 sudo su - ...
Check if $SSH_CLIENT is empty as well as $DISPLAY. For example: [[ -z $DISPLAY && -z SSH_CLIENT && $XDG_VTNR -eq 1 ]] && exec startx Alternatively, use $SSH_CONNECTION or $SSH_TTY
first of all: can you ssh to remote.host ? if you can, then do: local$ ssh -L 13306:localhost:3306 firstname.lastname@example.org put htop to keep-alive connection remote.host$ htop on another console: local$ mysql -P 13306 -h localhost -u root -p
The actual ssh process is not complicated. If done as you want, you just create an account in the EC2 machine, and keep an ssh open with autossh from the work machine to the EC2 machine. Others have already pointed out the article you need, start autossh reverse tunnel automatically when network comes up There are several disadvantages of diverting the ...
I have solved this one way by creating a further sub directory in the user's home directory, which is owned by them. The home directory itself is still owned by root. So the user can do whatever they like in their subdirectory.
Your problem might be (lack of) memory. Back when 1GB was big for a server, rsync would fail on me for large datasets. Perhaps the algorithm has improved of the memory capacities has increased, but I haven't seen that problem in 8 years or so. So really, this is an outside shot, but one worth exploring. Try smaller datasets first. You might also try -- as a ...
Only top voted, non community-wiki answers of a minimum length are eligible