ssh Connection refused: how to troubleshoot?
I’m trying:
I’m trying:
Probably it is a weird thing I would like to achieve but:
I would like to SSH to a remote host and then execute some bash commands like “alias” automatically to use them afterwards in an interactive mode. The remote host does not allow the personal environment.
Logging into a remote host using ssh -X [email protected], I successfully run gnome-terminal -e "tail -F /var/log/file" &. When I log off and then try the same thing the next day, I get this:
I have the following in a script
I am trying to setup a password-less SSH configuration between two machines and I am having a problem. There are a ton of howtos out there that I have followed and have had no success. Here are the steps that I’ve taken
This is a question that has been addressed several times, not only here, but also in other sites of the stack exchange network (e.g. How to make ssh to kill remote process when I interrupt ssh itself?
). However, I cannot make any of the solutions work for me.
I am looking for a way to execute a local command when logging into a remote machine via SSH. (I want to stay logged in after the command has finished.) In other words, I want to specify the command on my command line. It should be executed on the remote machine and then I should get the shell, as if I had logged in normally.
I’d like to basically pipe a wget command to a file on a remote server over SSH. How can I do this? I know I could simply ssh into the server and have it download the file, but I’d much rather use the local machine to download it and send it.
If a user has loginShell=/sbin/nologin is it still possible to
Is it possible to route all outgoing requests for SSH (port 22) to mydynamicdns.afraid.org via wlan0 instead of eth0 when both are connected?