I essentially want to run a script on machine A which will SSH into machine B, execute commands on B, and return the output to machine A.
So I am creating a csh script to do this, hopefully, if it's ...

i am trying execute ssh-copy-id in one port different than 22 (default). I researched and found the command below
$ssh-copy-id -i ~/.ssh/id_rsa.pub "user@192.168.0.1 -p 22001"
but, when execute the ...

I'm trying to run a python script on a remote linux machine accessed by SSH from my local Windows machine. The script contains a loop where for all files in a directory it's going to go to a certain ...

I was wondering how to execute a command file where: After logging in as a standard user, I want to switch user to "username" with password being "password", I can successfully execute the command.txt ...

I have a problem with my "service account". When I log into my service account sudo rootsh -i -u groot I am prompted for the service account password when I try to ssh to another app server. I have ...

I have to set up a server that will allow remote logins. Obviously security is an issue. In this first pass we are discussing:-
Locking a person for 15 minutes if they fail to login correctly three ...

I'm having a connection closed error on SSH if using the default port. I have a public key for authentication. I'm not encountering any connection closed issue if using password authentication but I ...

I want to establish an SSH tunnel on an existing connection. The tricky part is doing it from a script (a custom shell I need to allow users only some specific things, like setting up this tunnel).
...

I have a question and want to know how can I fix it so that the files created by SSH and SFTP by always have the same permissions in the case is 0644 for files.
It is possible to make the permissions ...

I installed Ubuntu LTS 14.04 server edition on a remote computer, and added my local public key to ~/.ssh/authorized_keys on the remote computer. I found that I still needed to use password to log in ...

I am currently working with some SSH tunnels configured. Many times when I loose connection to the Internet or hibernate my laptop, I need to reconfigure the tunnels (i.e., do killall ssh and then set ...

I'm very new to Unix and things around it, particularly for this question is SSH and authentication.
I know that I can create identities (create a pair of public/private key), put it into ssh-agent ...

I need help to transfer file from remote Server A to server B (login to B with Terminal (putty)), but I also need to do that in background (so I can close terminal and move away). What have I tried is ...

I have a headless Raspberry Pi running PiBang (swapping to Raspbian soon since PiBang is no longer supported) which I'd like to play Dungeon Crawl Stone Soup over ssh. When I try to run
crawl-tiles
...