Article View: alt.pl.comp.os.linux.debian
Article #17550Re: scp & -B
From: maciej rzepkowski
Date: Thu, 25 Sep 2003 12:53
Date: Thu, 25 Sep 2003 12:53
27 lines
1780 bytes
1780 bytes
Skomoroch wrote:
> Witam.
>
> W jaki sposob umozliwic upload plikow na inny serwer przez scp tak zeby
> nie pytal o haslo ?
> W manie znalazlem tylko info ze trzeba uzyc -B, ale nic poza tym.
>
robimy tak:
man ssh
tam mamy cos takiego:
ssh implements the RSA authentication protocol automatically. The user
creates his/her RSA key pair by running ssh-keygen(1). This stores the
private key in
$HOME/.ssh/identity and the public key in $HOME/.ssh/identity.pub in
the user's home directory. The user should then copy the identity.pub to
$HOME/.ssh/authorized_keys in his/her home directory on the remote
machine (the authorized_keys file corresponds to the conventional
$HOME/.rhosts file, and has one key
per line, though the lines can be very long). After this, the user can
log in without giving the password. RSA authentication is much more secure
than rhosts authen-
tication.
Technical Details
Message-ID:
<bkuoij$lif$1@nemesis.news.tpi.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!mat.uni.torun.pl!news.man.torun.pl!news.man.poznan.pl!newsfeed.gazeta.pl!news.onet.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mailReferences:
<bku3je$fsg$1@news.mm.pl>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!mat.uni.torun.pl!news.man.torun.pl!news.man.poznan.pl!newsfeed.gazeta.pl!news.onet.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail From: maciej rzepkowski <mr@4ecom.net> Newsgroups: alt.pl.comp.os.linux.debian Subject: Re: scp & -B Date: Thu, 25 Sep 2003 14:53:17 +0200 Organization: tp.internet - http://www.tpi.pl/ Lines: 29 Message-ID: <bkuoij$lif$1@nemesis.news.tpi.pl> References: <bku3je$fsg$1@news.mm.pl> Reply-To: mr@4ecom.net NNTP-Posting-Host: mail.dmbos.com.pl Mime-Version: 1.0 X-Trace: nemesis.news.tpi.pl 1064494484 22095 195.205.193.11 (25 Sep 2003 12:54:44 GMT) X-Complaints-To: usenet@tpi.pl NNTP-Posting-Date: Thu, 25 Sep 2003 12:54:44 +0000 (UTC) User-Agent: KNode/0.7.2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit