•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the Linux Users Lounge section within the Tech Talk category of DaniWeb, a massive community of 391,549 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,544 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Linux Users Lounge advertiser: Lunarpages Linux Web Hosting
Views: 6785 | Replies: 7
![]() |
•
•
Join Date: Jul 2006
Posts: 5
Reputation:
Rep Power: 0
Solved Threads: 0
HI Everybody,
already i put ssh auto login thro the ssh authorized_keys but now its not working means its asking for password, source and destination linux box ssh public key are same.
I tried like this way --- http://magicmonster.com/kb/net/ssh/auto_login.html
thanks for advance to help me to this issue
with regards,
Chandran
already i put ssh auto login thro the ssh authorized_keys but now its not working means its asking for password, source and destination linux box ssh public key are same.
I tried like this way --- http://magicmonster.com/kb/net/ssh/auto_login.html
thanks for advance to help me to this issue
with regards,
Chandran
Last edited by chanthru : Oct 27th, 2006 at 10:14 pm. Reason: explanation clear
check the permissions on the /home and /home/.ssh folders of both machines. you can also use the -v option with ssh to output all debugging to stdout.
ssh -v -l user machine
•
•
Join Date: Jul 2006
Posts: 5
Reputation:
Rep Power: 0
Solved Threads: 0
•
•
•
•
check the permissions on the /home and /home/.ssh folders of both machines. you can also use the -v option with ssh to output all debugging to stdout.
ssh -v -l user machine
Thanks for the quick response.
I have tried as you told way also, result like this
[user@server (Di Okt 31 07:11:58) root]$ssh -v -l remote_user remote_server
OpenSSH_3.6.1p2, SSH protocols 1.5/2.0, OpenSSL 0x0090701f
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Rhosts Authentication disabled, originating port will not be trusted.
debug1: Connecting to remote_server [remote_server] port 22.
debug1: Connection established.
debug1: identity file /home/user/.ssh/identity type -1
debug1: identity file /home/user/.ssh/id_rsa type 1
debug1: identity file /home/user/.ssh/id_dsa type -1
debug1: Remote protocol version 1.99, remote software version OpenSSH_3.9p1
debug1: match: OpenSSH_3.9p1 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_3.6.1p2
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-cbc hmac-md5 none
debug1: kex: client->server aes128-cbc hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug1: Host 'remote_server' is known and matches the RSA host key.
debug1: Found key in /home/user/.ssh/known_hosts:1
debug1: ssh_rsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,gssapi-with-mic,password
debug1: Next authentication method: publickey
debug1: Trying private key: /home/user/.ssh/identity
debug1: Offering public key: /home/user/.ssh/id_rsa
debug1: Authentications that can continue: publickey,gssapi-with-mic,password
debug1: Trying private key: /home/user/.ssh/id_dsa
debug1: Next authentication method: password
remote_user@remote_server's password:
thanks for advance to help to this isssue.
with regards,
~Chandran
•
•
Join Date: Jul 2006
Posts: 5
Reputation:
Rep Power: 0
Solved Threads: 0
•
•
•
•
so you moved the id_rsa.pub or id_dsa.pub file to the remote server and added the contents to the .ssh/authorized_keys file? It might be authorized_keys2 depending on the config file. it kinda sounds like you either moved the wrong file, IE your private key or you need to tweak teh config file.
Hi,
Thanks for response, i copied 1d_rsa.pub key to remote server and append to authorized_keys2. In the config like this authorized_keys2.
What i am done is correct?
thnaks,
~Chandran
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb Linux Users Lounge Marketplace
•
•
•
•
apple bbc cd cellphone choose computer core debian dell desktop development enterprise fedora fiji games gentoo gpl hardware ibm infrastructure install kernel laptop linux marketing microsoft mobile news novell open open source open-source openoffice operating os palm red hat rhel security server source sun suse system ubuntu unix vista web windows x86
- Auto Login (Windows tips 'n' tweaks)
- login to linksys router (VB.NET)
Other Threads in the Linux Users Lounge Forum
- Previous Thread: Linux - What can it offer me?
- Next Thread: Mounting HD


Linear Mode