Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
on my slackware machine when i run out next 2 commands,
1.
root@intel333:~$ ssh-agent /bin/bash -everything looks ok
2.
root@intel333:~$ ssh-add -l
The agent has no identities. <<<<< problem is that ssh-add stop responding in that moment, even if a identity is added or if ssh-add command is executed before, it shows only error below:
root@intel333:~$ ssh-add
Could not open a connection to your authentication agent.
So ssh-agent must be executed at first and then ssh-add for adding key's, on my second fedora machine this proces works ok, so now i dont know where's the problem.
[vikes@amd64 ~]$ ssh intel333
vikes@intel333's password:
Last login: Sat May 6 02:48:18 2006 from amd64
Linux 2.4.31.
vikes@intel333:~$ ssh-agent /bin/bash
vikes@intel333:~$ man ssh-add <<<< after this command terminal stop responding, same in next case
vikes@intel333:~$ ssh-agent /bin/bash
vikes@intel333:~$ ssh-add --help <<<<< just blinking cursor on screen, and must login again.
Permissions of files are set to only owner can acces this file(identity, i'm using rsa1 for testing purposes) in ~/.ssh, and on seconfd machine this process works ok. My target is to authentificate from amd64(fedora) without password and passphrase on intel333(slack-server). I has read out book about SSH, but a still can solve this issue. Now i've got mixture in head, if you could provide me quick help i'll be thankful please.
Is this what you want to do to make it not ask for passphrase?
I do it as follows for rsa. Same for dsa just make the change.
exec ssh-agent /bin/bash
ssh-add ~/.ssh/id_rsa
enter passphrase
Brian1
I'm not sure because of this:
[vikes@amd64 ~]$ ssh intel333
vikes@intel333's password:
Last login: Sat May 6 02:48:18 2006 from amd64
Linux 2.4.31.
vikes@intel333:~$ ssh-agent /bin/bash
vikes@intel333:~$ man ssh-add <<<< after this command terminal stop responding, same in next case
vikes@intel333:~$ ssh-agent /bin/bash
vikes@intel333:~$ ssh-add --help <<<<< just blinking cursor on screen, and must login again.
Permissions of files are set to only owner can acces this file(identity, i'm using rsa1 for testing purposes) in ~/.ssh, and on seconfd machine this process works ok. My target is to authentificate from amd64(fedora) without password and passphrase on intel333(slack-server). I has read out book about SSH, but a still can solve this issue. Now i've got mixture in head, if you could provide me quick help i'll be thankful please.
__________________
Distribution: Distribution: RHEL 5 with Pieces of this and that.
Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700
Rep:
The above post is confusing me. Looks like you have logged into remote ssh server and then trying to run the sss-agent command there. You run the command on the local box before making the connection.
Question: You have setup passphrase and the remote site is not asking for the passphrase? Just the password?
If so follow this from the above web site link.
Now when ssh to the remote machine, it should ask you for your key passphrase instead of your password. If it doesn't, it could be that the permissions and mode of the authorized_keys file and .ssh directory on the remote server need to be set more restrictively. You can do that with these commands on the remote server:
Distribution: Distribution: RHEL 5 with Pieces of this and that.
Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700
Rep:
Have followed the ssh-agent like it is described in the suso link?
If so then I have no idea. I am guessing something is missing. What I do not know.
How about installing the latest. Or going to apps site and see if there are any bugs.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.