I'm attempting to setup RSA Authentication for a particular user on two servers. A script runs via crontab, logs into one server and transfers data from the server1 to server2. Another script via cron, runs on server2, connects to server 1 and transfers data to it. However, I'm having issues configuring ssh/RSA authentication. An RSA key was generated on server1, then id_rsa.pub was copied to server2 in authorized_keys.
I wasn't sure last time because i was setup ssh keys long time ago.
Now I know that there is no need to add anything to /etc/hosts.
Anyway to modify read-only file with vi, you must use
I tested ssh key exchange. It is very simple for me and i didn't have any problems with this.
Example:
Now I have passwordless ssh login from server1 to server2. On server1 I have account with user1 login, on server2 account with user2 login.
There is no need to change any file permissions. I leave passphrase blank.
To setup login from server2 to server1 you must repeat above steps. Remember to use apropriate user account.
Check your files and directoriese names and path to that files and directories. Maybe there is some mistake.
For some reason, when I try copying my public key to the server, despite it showing as being successful:
rob@linux044:~$ ssh-copy-id -i /home/rob/Work/Keys/keys.txt.pub !@#$%.com
/usr/bin/ssh-copy-id: INFO: Source of key(s) to be installed: "/home/rob/Work/Keys/keys.txt.pub"... (7 Replies)
I have made a complete botch of trying to install both ssh and samba, having followed numerous tutorials - all claiming to be easy to follow and stating that it is easy.
The last attempt @ ssh was going really well until the copy id stage
roy@roy-1011PX:~$ ssh-copy-id -i /home/roy/.ssh/id_dsa.pub... (8 Replies)
Firstly Hi everyone :)
I setup SFTP and SSH jail using this tutorial:
http://www.howtoforge.com/chrooted-ssh-sftp-tutorial-debian-lenny
SFTP jail works however now when I try to SSH it accepts my password and then just goes to a blank screen. Type any command and the shell session is... (11 Replies)
Hi,
I'm not sure if this has been solved in this forum already but please do help me out if possible. Basically, I've already setup a passwordless SSH connection between 2 AIX IDs (say ID-1 and ID-2) with a Mainframe server ID (say MVSID). I'm able to successfully do an SSH from the AIX server to... (1 Reply)
Hey,
I have upgraded 3 servers from SSH Tectia 4.0.3 to SSH Tectia 6.0.2. 2 of them are working fine but one server suddenly began to have troubles after about 2 hours. Now it is impossible to login to this server using SSH and even telnet. When SSH is running on this particular server, the CPU... (20 Replies)
Hi all. I'm a newbie around here and starting an "adventure" through AIX OS's.
I'm having a few troubles when i try to install OpenSSH 4.7.0.5201 through smitty installp. I have all prerequisites already installed on my server.
As you can see below, my problem is only with the SSH Server.... (7 Replies)
I am trying to ssh into a remote sun server, however I get X11 forwarding error. I have checked sshd_config file and X11 forwarding is enabled.
Also xhost command doesnt give any output, it doesnt even return the prompt.I have to Ctrl C out of the situation. any suggestions anyone?? (1 Reply)
I just installed Solaris 6/10 without any problems but I didn't connect the network cable when I installed it.
Here are my problems:
-I can access webpages using IP addrsses but not with domain names
-ssh is installed but it is not running ('ps -e | grep sshd' didn't show it)
I have been... (4 Replies)
But this time it's not the implementation, it's the protocol.
Check this out for a description:
http://lasecwww.epfl.ch/memo_ssl.shtml
There's a little more general information found in links on Slashdot's story here.
Don't rush out and replace your sshd, though. This attack apparently only... (1 Reply)