Quote:
Like: cat user_id.pub >> authorized_keys There is: user_id.pub - Your public key file with is create on your computer with "passphrase" authorized_keys - Remote SSH server authorized key file |
Hi Blinker_Fluid,
Sorry, I figured out this. |
Quote:
|
Quote:
if password begins with "-" it doesn't work. It interprets the password as an option. What can be done? Another question, how secure is this? Regards |
Quote:
|
Quote:
Code:
sshlogin node1 abc xyz You can execute inside another script and you don't have to be prompted for the password every time. I know it is risky and ugly if you want, but I cannot manage to get working the public key stuff (as I don't have root access to the listener machine I don't know if I will be able to solve that question; I believe it is related to some conf file) I hope to have clarified your question... Anyway, mine still remains: how (un)secure is this thing? Regards |
SSHlogin
If your password starts with - then try using " " [quotes].
I have not tried this. Hope this should work. Or sometimes it may take " " as a part of your password. Every coin has two sides. Got any other solution for this issue ? One more problem is there. Since you are spawning a program with another, the child process will be limited to use the total memory allocated for the parent process. Try sshlogin to a machine and then try listing ( ls -l ) a directory with not less that 100 files. At times the ls will go into an infinite loop, you can get out of it. (Even with Cntrl + C). Since it is a seperate process. Take care. |
Quote:
If must be something simple, but I can't find the good side of the coin... Any "expect" expert around here? Regards |
Quote:
However, how do you use the hosts.equiv file to get passwordless rsh? |
All times are GMT -5. The time now is 02:10 PM. |