18
votes
1answer
64k views

How do I set up SSH authentication keys? [duplicate]

Possible Duplicate: How can I set up password-less SSH login? I am using ssh to connect to a remote server. I am prompted to provide a password each time, but I recall being able to set up ...
0
votes
1answer
3k views

How to setup login your SSH server with Public/Private key authentification? [duplicate]

Possible Duplicate: How can I set up password-less SSH login? I am having a debian based linode server. All the time if need to login to remote server i do ssh user@ip and then I ...
1
vote
0answers
594 views

SSH connecting with one command line [duplicate]

Possible Duplicate: How can I set up password-less SSH login? I'm trying to connect to the ssh with the following command: ssh user:pass@host bit still it's asking the password, how can ...
0
votes
0answers
49 views

Can I set password for SSH for auto login? [duplicate]

I was wondering if it is possible to save the ssh password somewhere for auto login to the devices? I don't know if you guys have used SecureCRT but it has that option where it saves your password ...
0
votes
0answers
41 views

14.04: How to ssh/scp as root with NO password prompting? [duplicate]

We upgraded from 12.04 to 14.04. We have a dozens of processes that perform automation tasks for us and we use root with ssh/scp. After the upgrade root couldn't ssh/scp into the servers at all. We ...
1
vote
0answers
32 views

SSH for ubuntu touch [duplicate]

For some reason, while I am trying to connect to SSH on my Nexus 7 2013 I keep getting this error message: Permission denied(publickey) Can someone explain how to properly setup SSH for Ubuntu ...
0
votes
0answers
13 views

Multiple scp commands in bash script, but entering password only once [duplicate]

I currently use a bash script in the following format to update local data with remote one: usr=$1 scp -P 4444 -r $usr@some.other.machine.at:/some/folder/*Tools /home/localUser/someFolder/ scp -P ...
152
votes
5answers
229k views

Easiest way to copy ssh keys to another machine?

I am lazy at home and use password authentication for my home machines. I am ready to move to key based authentication. There are many options on the web on how to do this, including catting then ...
35
votes
7answers
82k views

Can you set passwords in .ssh/config to allow automatic login?

I'm using ubuntu 11.10. I'm using ssh for connecting to many servers daily, so i put their parameters in .ssh/config file; like this : Host Home User netmoon Port 22 HostName test.com Is there a ...
52
votes
3answers
5k views

How can I use a passcode generator for authentication for remote logins?

I would like to strengthen the authentication of my SSH logins by adding another factor: a passcode generator device, or a passcode generation application on my mobile phone. The only obvious options ...
5
votes
4answers
27k views

SSH public key authentication doesn't work

I'm having trouble setting up public key authentication for an SSH server on Ubuntu Server 12.04 (A) for authentication from an Ubuntu Server 13.04 (B). What I'm doing now (I'm trying to follow the ...
8
votes
4answers
6k views

How can I autostart a SSH -D tunnel at login for a SOCKS proxy?

I know that if I want to start an SSH tunnel ssh -d 9000 user@userserver This is one solution for a dynamic tunnel to be opened on port 9000 for a user named "user" on the host "userserver" ...
-1
votes
2answers
4k views

How to ssh using perl scipt,run a command, and return the output…?

As clearly explained in the question, kindly give me an option to ssh to a machine using perl script, run a few script lines there, and return the output to the source machine. Found out a few docs ...
1
vote
3answers
5k views

Can I create an SSH login script?

I have to log in to my school's Linux server for homework. I would like to be able to make a script or something for my desktop to save a bit of time (using Ubuntu desktop). Currently I log in using ...
2
votes
2answers
6k views

How do I include a password with SSH command? (want to make shell script)

I'm trying to SSH to a server on startup with a .sh script, but that will require me to enter the password for the account on the server that I'm SSHing to. I did some RTFMing, and I see in "-o" that ...

15 30 50 per page