mirror of
git://anongit.mindrot.org/openssh.git
synced 2024-11-23 18:23:25 +08:00
- (dtucker) [contrib/ssh-copy-id] Bug #781: exit if ssh fails. Patch from
cjwatson at debian.org.
This commit is contained in:
parent
3c80d4a7b7
commit
e918318f2b
@ -1,3 +1,7 @@
|
||||
20040105
|
||||
- (dtucker) [contrib/ssh-copy-id] Bug #781: exit if ssh fails. Patch from
|
||||
cjwatson at debian.org.
|
||||
|
||||
20040102
|
||||
- (djm) OSX/Darwin needs BIND_8_COMPAT to build getrrsetbyname. Report from
|
||||
jakob@
|
||||
@ -1644,4 +1648,4 @@
|
||||
- Fix sshd BindAddress and -b options for systems using fake-getaddrinfo.
|
||||
Report from murple@murple.net, diagnosis from dtucker@zip.com.au
|
||||
|
||||
$Id: ChangeLog,v 1.3161 2004/01/02 07:01:30 djm Exp $
|
||||
$Id: ChangeLog,v 1.3162 2004/01/04 21:16:34 dtucker Exp $
|
||||
|
@ -38,7 +38,7 @@ if [ "$#" -lt 1 ] || [ "$1" = "-h" ] || [ "$1" = "--help" ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
{ eval "$GET_ID" ; } | ssh $1 "umask 077; test -d .ssh || mkdir .ssh ; cat >> .ssh/authorized_keys"
|
||||
{ eval "$GET_ID" ; } | ssh $1 "umask 077; test -d .ssh || mkdir .ssh ; cat >> .ssh/authorized_keys" || exit 1
|
||||
|
||||
cat <<EOF
|
||||
Now try logging into the machine, with "ssh '$1'", and check in:
|
||||
|
Loading…
Reference in New Issue
Block a user