Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 02-16-2009, 02:28 AM   #1
Registered: Feb 2008
Location: India-Hyderabad
Distribution: RHEL and Fedora
Posts: 171

Rep: Reputation: 15
Wink how login to remote machine with out password?

how to login to remote machine without password? after we use
useradd test
and we use
passwd test
. i.e the /etc/shadow file should not contain password of test. i tried using rsa i didn't get.
I tried like this.
ssh-keygen -t rsa -f .ssh/id_rsa
(i have taken blank password)
useradd test
cp /home/test/.ssh/.authorized_keys
from machine1 when i am trying to do ssh it prompting for rsa password, if cancle it, it is prompting for machine1 password. should we modify any thing in /etc/ssh/sshd_config file? if so what should we change?

Last edited by bkcreddy17; 02-16-2009 at 04:32 AM.
Old 02-16-2009, 03:39 AM   #2
LQ Newbie
Registered: Feb 2009
Distribution: RedHat, Fedora, CentOS
Posts: 27

Rep: Reputation: 18
google for "How To Set Up SSH With Public-Key Authentication"
Old 02-16-2009, 04:30 AM   #3
Registered: Feb 2008
Location: India-Hyderabad
Distribution: RHEL and Fedora
Posts: 171

Original Poster
Rep: Reputation: 15
Tank you thierrys.
after adding user, you should not add password, then use rsa and try to login. it doesn't happen.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Writing to a remote machine without password fw12 Linux - General 1 11-30-2007 10:26 PM
How to login as root in the remote machine with NX client tanveer Linux - Software 5 11-18-2007 12:27 PM
Bypassing password in remote login Sulman Shah Programming 3 01-17-2007 09:25 AM
remote login no password FC2 dretzloff Linux - Security 1 01-08-2005 05:11 PM
Remote X login on RH 9.0 machine abhatia Linux - Networking 2 01-09-2004 07:06 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:25 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration