Mailinglist Archive: opensuse-security (138 mails)

< Previous Next >
Re: [suse-security] Re: Why Install Telnet by Default?
  • From: Mike Branda <mike@xxxxxxxxxxxxx>
  • Date: Wed, 28 Dec 2005 17:13:14 -0500
  • Message-id: <1135807994.31813.66.camel@xxxxxxxxxxxxxxxxxxxx>
On Fri, 2005-12-09 at 08:39 +0800, John Summerfield wrote:

> Using ssh, I can arrange for secure passwordless authentication. That's
> a greate convenience I could never achieve with telnet, though I did
> sort of fudge it with an expect script.

why not just use the ssh trusted keys?

mybox$ cd ~/.ssh
mybox$ ssh-keygen -t dsa -b 1024 -P '' -f id_dsa
mybox$ scp id_dsa.pub user@otherbox:.ssh/authorized_keys

The scp will ask for your password. After that, you can ssh, scp or
whatever without typing the password.




Mike


< Previous Next >