Discussed: https://github.com/fish-shell/fish-shell/issues/2292
Fixed in: https://github.com/fish-shell/fish-shell/issues/150 So TL;DR it was more seen as an issue in fish and should work in recent versions of fish now. Reassigning to fish due to that. The discussions and fixes in fish are very noisy and complex - it would be great if one could test that on a newer release. ** Bug watch added: github.com/fish-shell/fish-shell/issues #2292 https://github.com/fish-shell/fish-shell/issues/2292 ** Bug watch added: github.com/fish-shell/fish-shell/issues #150 https://github.com/fish-shell/fish-shell/issues/150 ** Package changed: openssh (Ubuntu) => fish (Ubuntu) ** Also affects: fish (Ubuntu Xenial) Importance: Undecided Status: New ** Changed in: fish (Ubuntu) Status: Confirmed => Fix Released ** Changed in: fish (Ubuntu Xenial) Status: New => Confirmed -- You received this bug notification because you are a member of नेपाली भाषा समायोजकहरुको समूह, which is subscribed to Xenial. Matching subscriptions: Ubuntu 16.04 Bugs https://bugs.launchpad.net/bugs/1493067 Title: ssh-copy-id fails by making assumptions about the default shell on the remote machine Status in fish package in Ubuntu: Fix Released Status in fish source package in Xenial: Confirmed Bug description: ssh-copy-id 10.200.17.160 /usr/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter out any that are already installed /usr/bin/ssh-copy-id: INFO: 1 key(s) remain to be installed -- if you are prompted now it is to install the new keys foo@10.200.17.160's password: fish: Expected a command name, got token of type “Run job in background”. Did you mean “COMMAND; and COMMAND”? See the help section for the “and” builtin command by typing “help and”. Standard input: mkdir -p .ssh && cat >> .ssh/authorized_keys || exit 1 ; ^ I expected to be able to copy my key. An approach I see is for ssh-copy-id to run bash -c .... ProblemType: Bug DistroRelease: Ubuntu 15.04 Package: openssh-client 1:6.7p1-5ubuntu1.3 ProcVersionSignature: Ubuntu 3.19.0-25.26-generic 3.19.8-ckt2 Uname: Linux 3.19.0-25-generic x86_64 ApportVersion: 2.17.2-0ubuntu1.3 Architecture: amd64 CurrentDesktop: GNOME Date: Mon Sep 7 15:56:44 2015 RelatedPackageVersions: ssh-askpass N/A libpam-ssh N/A keychain N/A ssh-askpass-gnome 1:6.7p1-5ubuntu1.3 SSHClientVersion: OpenSSH_6.7p1 Ubuntu-5ubuntu1.3, OpenSSL 1.0.1f 6 Jan 2014 SourcePackage: openssh UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/fish/+bug/1493067/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~group.of.nepali.translators Post to : group.of.nepali.translators@lists.launchpad.net Unsubscribe : https://launchpad.net/~group.of.nepali.translators More help : https://help.launchpad.net/ListHelp