search for: ssh_origin

Displaying 2 results from an estimated 2 matches for "ssh_origin".

Did you mean: ssh_original
2023 Jun 29
2
Subsystem sftp invoked even though forced command created
...ation is correct. To test the theory, I've slightly altered the forced command to output log data to indicate whether the forced command is even executed, and if so, what command line it was passed from the client (or WinSCP). The added code is as follows: LOGFILE=/tmp/name-of-file.log if [[ $SSH_ORIGINAL_COMMAND ]]; then print "Command: $SSH_ORIGINAL_COMMAND" >> $LOGFILE else print "No SSH_ORIGINAL COMMAND set" >> $LOGFILE fi I ran the client as is and received the following entry in the log: Command: 2>/dev/null I then set a flag in the client which r...
2023 Sep 19
1
Subsystem sftp invoked even though forced command created
...3 lab servers: OS OpenSSH version Ubuntu 18.04 OpenSSH_7.6p1 Ubuntu-4ubuntu0.7, OpenSSL 1.0.2n 7 Dec 2017 Solaris 11 OpenSSH_8.4p1, OpenSSL 1.0.2zf 21 Jun 2022 HP-UX 11.31 OpenSSH_8.1p1+sftpfilecontrol-v1.3-hpn14v20, OpenSSL 1.1.1d 10 Sep 2019 I got the following results: OS ssh sftp SSH_ORIGINAL_COMMAND Ubuntu 18.04 Hung waiting for input, pressed ^C Obtained sftp prompt. Not logged Solaris 11 Hung waiting for input, pressed ^C Hung waiting for input, pressed ^C Command: internal-sftp HP-UX 11.31 Hung waiting for input, pressed ^C Hung waiting for input, pressed ^C Command: /opt/ssh/l...