LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices

Reply
 
Search this Thread
Old 12-10-2004, 12:40 PM   #1
Ephracis
Senior Member
 
Registered: Sep 2004
Location: Sweden
Distribution: Ubuntu, Debian
Posts: 1,109

Rep: Reputation: 49
SSH without password


I am using OpenSSH 3.9p1.

I checked the config-file and saw the rows:
Code:
# To disable tunneled clear text passwords, change to no here!
PasswordAuthentication yes
PermitEmptyPasswords no
If I would change the "password authentication" to "no", how would I login then?
 
Old 12-10-2004, 12:57 PM   #2
sigsegv
Senior Member
 
Registered: Nov 2004
Location: Third rock from the Sun
Distribution: NetBSD-2, FreeBSD-5.4, OpenBSD-3.[67], RHEL[34], OSX 10.4.1
Posts: 1,197

Rep: Reputation: 46
Re: SSH without password

Quote:
Originally posted by MezzyMeat
If I would change the "password authentication" to "no", how would I login then?
You wouldn't unless you were using keys or kerberos or something else.
 
Old 12-10-2004, 01:42 PM   #3
Ephracis
Senior Member
 
Registered: Sep 2004
Location: Sweden
Distribution: Ubuntu, Debian
Posts: 1,109

Original Poster
Rep: Reputation: 49
Re: Re: SSH without password

Quote:
Originally posted by sigsegv
You wouldn't unless you were using keys or kerberos or something else.
Yes, but that's what I wanted to know. How do I use keys or kerberos and what are/do they?
 
Old 12-10-2004, 01:50 PM   #4
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 77
What you do is copy the ouput of your public key (id_dsa.pub) to the file ~/.ssh/authorized_keys on the server you want to ssh to. Now you have a passwordless login. (you just type in your passphrase)

The benefit of this, is that if you don't have an account or known_hosts file on the server, then you will not even get a passwd prompt to try and brute force.
 
Old 02-25-2005, 02:30 PM   #5
edafe
Member
 
Registered: Feb 2005
Posts: 44

Rep: Reputation: 15
Step-by-step instructions on how to use public key authentication with SSH:

http://www.edafe.org/slackware/index...authentication

Regards,
Edafe
 
  


Reply


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
SSH without password hywaydave Linux - Security 3 02-02-2005 03:40 AM
can't do password less ssh nedian123 Linux - Networking 2 06-26-2004 03:33 PM
ssh password ssudhi Linux - Newbie 6 05-13-2004 09:30 PM
SSH without password Kocil Linux - Networking 6 12-16-2003 02:59 PM
password less SSH maaand Linux - Networking 0 04-23-2002 08:13 PM


All times are GMT -5. The time now is 04:24 PM.

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