Displaying 3 results from an estimated 3 matches for "sshbin".
Did you mean:
ssh_in
2024 Jan 14
2
ProxyJump may construct erroneous ProxyCommand
...- a/ssh.c
+++ b/ssh.c
@@ -1313,7 +1313,7 @@ main(int ac, char **av)
* Try to use SSH indicated by argv[0], but fall back to
* "ssh" if it appears unavailable.
*/
- if (strchr(argv0, '/') != NULL && access(argv0, X_OK) != 0)
+ if (access(argv0, X_OK) != 0)
sshbin = "ssh";
/* Consistency check */
2024 Jan 14
2
ProxyJump may construct erroneous ProxyCommand
Hello,
On macOS, Terminal?s ?New Remote Connection?? command runs ssh in a new window like this:
login -pfq $USER /usr/bin/ssh $HOST
Here, login executes /usr/bin/ssh with argv[0] set to ?-ssh?.
If $HOST has a ProxyJump configuration, the resulting ProxyCommand is:
-ssh -W '[%h]:%p' $JUMP_HOST
Because of the leading hyphen, this fails to execute. If the user?s shell is zsh, the
2000 Dec 24
2
scp -f / interactive ?
Hi,
% scp -v user at host:file.txt .
[..]
debug: Remote protocol version 1.99, remote software version OpenSSH_2.3.0p1
debug: Local version string SSH-1.5-OpenSSH_2.1.1
[..]
debug: Sending command: scp -v -f file.txt
debug: Entering interactive session.
Sending file modes: C0644 3093316 file.txt
Since it 'interactives' the remote user needs a shell. Any workaround?
But more interesting