Topic "set -u problem"

Author Message
doug.probst

Guest


Ran into an issue connectint to openssh with set -u in the users dot profile. After authenticating .. get the following error.
Error detecting variable containing retrune code of last command

Connection has been unexpectedly closed. Server sent command exit status 1.

winscp version 3.6.7 talking to openssh 3.4 and 3.8

The strange thing is the user claims this worked in the recent past and the profile had not been changed...
Any insite??
Thanks
Doug
Advertisements
doug.probst

Guest


Sorry OS is AIX 5.1 5.2 5.3 and redhat 6 or 7.. I forget what is on this box under the desk.. does it in ksh sh and bash.. with set- u in .profile and .bash_profile on linux
Doug
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24553
Location: Prague, Czechia
Have you tried using SFTP protocol?

You can also try to avoid executing the "set -u" for non-interactive sessions.
_________________
Martin Prikryl
Doug.Probst

Guest


The sftp protocol worked. I told the user to remove the set, there is no reason I can find for it to be there.
Thanks!
Doug
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