Topic "Option to allocate TTY"

Author Message
MichaelM

Guest


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
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
TTY is intended only for human interactive sessions (regular terminal), which is not case of WinSCP. It cannot work with TTY. For example TTY would not allow binary transfers, because several ASCII characters have special meaning in TTY, so thay cannot be contained in file.
_________________
Martin Prikryl
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License