Option to allocate TTY
Hi,
would it be possible to have an option to get WinSCP
to allocate a TTY for the purposes of SCP connections?
The reason I'd like this is so that SCP works when connecting to Solaris machines running OpenSSH and using the "UseLogin yes" option.
When no tty is allocated, /bin/login fails since it has no tty and this causes scp to fail.
If I manually specify the /bin/bash (or /bin/sh) shell
in the Environment/SCP/Shell option I can scp (since OpenSSH doesnt use /bin/login when commands are specified). However, by using this the login scripts and wtmp accounting are bypassed.
Please let me know if it would be possible to get TTYs allocated.
Thanks
Mike
would it be possible to have an option to get WinSCP
to allocate a TTY for the purposes of SCP connections?
The reason I'd like this is so that SCP works when connecting to Solaris machines running OpenSSH and using the "UseLogin yes" option.
When no tty is allocated, /bin/login fails since it has no tty and this causes scp to fail.
If I manually specify the /bin/bash (or /bin/sh) shell
in the Environment/SCP/Shell option I can scp (since OpenSSH doesnt use /bin/login when commands are specified). However, by using this the login scripts and wtmp accounting are bypassed.
Please let me know if it would be possible to get TTYs allocated.
Thanks
Mike