Bug#712094: /usr/bin/ssh-copy-id: 168: [: 1: unexpected operator ; getting this error if server is offline
Package: openssh-client
Version: 1:6.2p2-3
Severity: important
File: /usr/bin/ssh-copy-id
* What led up to the situation?
I was trying to upload my ssh-id via "ssh-copy-id -i /home/<my-
username>/.ssh/id_rsa.pub root@<my-server-url>". The server was not available /
offline and I got an error like
"/usr/bin/ssh-copy-id: 168: [: 1: unexpected operator"
I think this should be handled better, that's not an usefull message.
Thanks !
-- System Information:
Debian Release: jessie/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.2.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages openssh-client depends on:
ii adduser 3.113+nmu3
ii dpkg 1.16.10
ii libc6 2.17-3
ii libedit2 2.11-20080614-5
ii libgssapi-krb5-2 1.10.1+dfsg-5+deb7u1
ii libselinux1 2.1.13-2
ii libssl1.0.0 1.0.1e-3
ii passwd 1:4.1.5.1-1
ii zlib1g 1:1.2.8.dfsg-1
Versions of packages openssh-client recommends:
ii xauth 1:1.0.7-1
Versions of packages openssh-client suggests:
pn keychain <none>
pn libpam-ssh <none>
pn monkeysphere <none>
ii openssh-blacklist 0.4.1+nmu1
ii openssh-blacklist-extra 0.4.1+nmu1
ii ssh-askpass-gnome [ssh-askpass] 1:6.2p2-3
-- no debconf information
Reply to: