[Solved] [SSH-RSA] Still prompting for password after generating keys
Hello,
I'm trying to perform these operations without entering any password, as user "fzd":
but also
So, in order to do this, I performed (I'm only using these two machines, so there's no real trouble in removing the .ssh contents):
However, when running any of these:
I get prompted each time for a password ("fzd@machine2's password:")
Have I skipped something obvious?
I tried to find as much help on this (and other) websites, but almost everyone stopped at step 4 above, some went all the way down to step 6, after the chmods)
("ssh -V" returns, on both machines, "OpenSSH_3.6.1p2, SSH protocols 1.5/2.0, OpenSSL 0x009071f)
@samnyc:
Interestingly,
I am running a Red Hat release 3 (Taroon Update 3) (and can't change it, as it is a work environment requirement).
@bipinajith:
After
(and checking that my id_rsa was still 600), I tried again, and it prompted me for a password again.
Is there a file somewhere that defines whether this ssh functionality (using the keys and the authorized_keys file to avoid entering passwords) can be used ?
Weirdly enough (but also because I have to implement this), I also tried using rsh (rcp) and filling the .rhosts file. This wasn't successful (adding machine1 on fzd@machine2> $HOME/.rhosts)
Hi,
When i am trying to connect to other server using ssh coomand, it is prompting for password.
But i want to hardcode it with username so that it should not prompt for password.
And i dont want to use "ssh-keygen" method as it is not allowed.
Please help me.
Regards,
Mukta (7 Replies)
There are two servers :
1. Site
2. Testing
from site server i want to connect testing server with ssh password less authentication.
i generated public and private keys with ssh-keygen -t rsa on site server.
cat id_rsa >> authorized_keys
cat id_rsa.pub >> authorized_keys
i... (15 Replies)
We have RSA SecureID softtoken key generator on my Windows machine.
It generates new keys every 1 minute.
Any HPUX server (be it ServerD or ServerP) requires my ID and the randomly generated RSA SecureID softtoken key from my Windows to login.
I login to ServerD.
Then I run a script... (0 Replies)
Hi all,
I am facing an issue while creating the ssh keys. i am using fedora 9
Please let me know how to solve this issue
# ssh-keygen -t rsa
Generating public/private rsa key pair.
Enter file in which to save the key (/root/.ssh/id_rsa):
Enter passphrase (empty for no... (5 Replies)
I'm a sysadmin trying to help out one of our DBA's setup the RMAN backups (Oracle 11g on rhel5 ) so they can schedule and control them from the OEM grid control. But we want the oracle user to use ssh keys instead of a password. I have the working rsa keys in place for the user but the GUI seems to... (0 Replies)
Hi,
I have set up my remote server for password-less login via ssh. If I run the command on my server - ssh user@remoteserver "ls -l"
I get an output, but when I try to do this via java
String sCmd = new String{"/usr/bin/ssh", " user@remoteserver", "\"ls -l\""};
Process p =... (3 Replies)
Hi
i have aix 5.3 operating system, and i am trying to do ssh without passwd, when i tried to create a rsakey, it produces empty file as an output, how can solve that problem? why it is giving empty output file, i tried with different user, situation same,.i have restarted sshd server. .ssh... (2 Replies)
Hi all,
Basic Requirement:
To SFTP large files (usually 10GB). We use webMethods 6.1.2 (installed on Unix) as the orchstrator and make underlying Unix system calls to do the processing.
That is, if we have to SFTP a large file - webMethods will invoke a Perl script on the underlying Unix... (2 Replies)
Hi,
I am using a remote storage service for backing up our data - we want to have a script run as part of a cron job which would do the backups from our local Linux machine to the service's Linux machine.
I want to use tar and ssh to do this (rather than mounting the disk and using cp) .... (5 Replies)
Hi,
Can anybody tell me a way to do ssh , without prompting for password from keyboard, Using RSA. The requirement is I need to create the key , using passphrase also.....
Is there any way to do it in UNIX ?
I am doing it from AIX machine , but remote machine is Linux
I tried... (8 Replies)