This is a discussion on Bug+bugfix in ssh-copy-id within the OpenSSH Development forums, part of the Networking and Network Related category; --===============1033353479== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-7ioiEDq+G4l2pze9400c" --=-7ioiEDq+...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
--===============1033353479== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-7ioiEDq+G4l2pze9400c" --=-7ioiEDq+G4l2pze9400c Content-Type: multipart/mixed; boundary="=-5d8yjBWrecnDjuTde90v" --=-5d8yjBWrecnDjuTde90v Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi! the script ssh-copy-id assumes, that the remote machine has a POSIX Compatible shell as login shell. So you have to write in line 41: =E2=80=A6 ssh $1 'sh -c "umask 077; test =E2=80=A6 instead of =E2=80=A6 ssh $1 "umask 077; test =E2=80=A6 Patch is appended. Greetings, Benjamin Kellermann --=20 GPG-Key-ID: 491A3D9C Fingerprint: D19E 04A8 8895 020A 8DF6 0092 3501 1A32 491A 3D9C http://pgpkeys.pca.dfn.de/ --=-5d8yjBWrecnDjuTde90v Content-Disposition: attachment; filename=ssh-copy-id.patch Content-Type: text/x-patch; name=ssh-copy-id.patch; charset=ASCII Content-Transfer-Encoding: base64 NDFjNDENCjwgeyBldmFsICIkR0VUX0lEIiA7IH0gfCBzc2ggJD EgJ3NoIC1jICJ1bWFzayAwNzc7 IHRlc3QgLWQgLnNzaCB8fCBta2RpciAuc3NoIDsgY2F0ID4+IC 5zc2gvYXV0aG9yaXplZF9rZXlz IicgfHwgZXhpdCAxDQotLS0NCj4geyBldmFsICIkR0VUX0lEIi A7IH0gfCBzc2ggJDEgInVtYXNr IDA3NzsgdGVzdCAtZCAuc3NoIHx8IG1rZGlyIC5zc2ggOyBjYX QgPj4gLnNzaC9hdXRob3JpemVk X2tleXMiIHx8IGV4aXQgMQ0K --=-5d8yjBWrecnDjuTde90v-- --=-7ioiEDq+G4l2pze9400c Content-Type: application/pgp-signature; name=signature.asc Content-Description: Dies ist ein digital signierter Nachrichtenteil -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQBH2C3DNQEaMkkaPZwRAiKxAJ9+C/iLEF7Au+yzMyY58vd9Z4H/AQCdGTBg RWPlJ8y5KSyU0p5lWcwIBZk= =IFMf -----END PGP SIGNATURE----- --=-7ioiEDq+G4l2pze9400c-- --===============1033353479== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ openssh-unix-dev mailing list openssh-unix-dev@mindrot.org https://lists.mindrot.org/mailman/li...enssh-unix-dev --===============1033353479==-- |
![]() |
| Thread Tools | |
| Display Modes | |
|
|