Hi! I am using OpenSSH_3.6.1p2, SSH protocols 1.5/2.0, OpenSSL 0x0090701f on my Mandrake 9.1 machine. I used to run fetchmail to get emails from IRIX 6.3 system which has OpenSSH_3.4p1, SSH protocols 1.5/2.0, OpenSSL 0x0090602f. I had to reinstall my Mandrake, and after that ssh gives me strange error messages. When I run command: ssh -f -L 1234:irixhost.somedomain.fi:110 irixhost.somedomain.fi sleep 5 on my Mandrake I get stty error mentioned on subject line. Also when I run: [tkn at localhost tkn]$ scp foobar.txt irixhost I get no error message, but when I run: [tkn at localhost tkn]$ scp foobar.txt irixhost: I get error again: stty: : Operation not supported on transport endpoint I am using rsa_key with password, and I use ssh-add to give password only once. What can I do to get rid of this error? I already installed latest mdk rpm but it didn't help. Now I have version mentioned on beginning of this message. With best regards, Tero Knuutila, Finland
Hi, On Wed, Sep 24, 2003 at 02:37:00PM +0300, Tero Knuutila wrote:> When I run command: > ssh -f -L 1234:irixhost.somedomain.fi:110 irixhost.somedomain.fi sleep 5 > on my Mandrake I get stty error mentioned on subject line.Something in your .profile or .bashrc or .kshrc (or whatever script is executed upon startup of a non-interactive shell) calls "stty". For "ssh-with-command" and "scp", this MUST NOT be done, as there is no tty, and the error message will mess up the protocol. The error comes from the remote end.> Also when I run: > [tkn at localhost tkn]$ scp foobar.txt irixhost > > I get no error message,Of course. You're just doing a local copy here, with the destination *file* named "irixhost". gert -- USENET is *not* the non-clickable part of WWW! //www.muc.de/~gert/ Gert Doering - Munich, Germany gert at greenie.muc.de fax: +49-89-35655025 gert at net.informatik.tu-muenchen.de