Bugzilla – Attachment 521 Details for
Bug 781
ssh-copy-id carries on if ssh fails
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
make ssh-copy-id exit if ssh fails
ssh-copy-id.patch (text/plain), 743 bytes, created by
Colin Watson
on 2004-01-04 11:52:31 AEDT
(
hide
)
Description:
make ssh-copy-id exit if ssh fails
Filename:
MIME Type:
Creator:
Colin Watson
Created:
2004-01-04 11:52:31 AEDT
Size:
743 bytes
patch
obsolete
>Index: contrib/ssh-copy-id >=================================================================== >RCS file: /home/cjwatson/cvs/openssh/openssh/contrib/ssh-copy-id,v >retrieving revision 1.1.1.2 >retrieving revision 1.1.1.2.4.1 >diff -p -u -r1.1.1.2 -r1.1.1.2.4.1 >--- contrib/ssh-copy-id 1 Sep 2003 18:33:24 -0000 1.1.1.2 >+++ contrib/ssh-copy-id 4 Jan 2004 18:48:29 -0000 1.1.1.2.4.1 >@@ -38,7 +38,7 @@ if [ "$#" -lt 1 ] || [ "$1" = "-h" ] || > 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:
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 781
: 521