Topic "Compatibility with WinSSHD"

Author Message
Guest




Hi,
According to bitvise, WinSSHD should work with WinSCP: https://www.bitvise.com/winsshd-usage-faq.html

However, I'm running into problems even though I'm running the SCP session under the bash shell...I think. Very Happy

Here's some log info:

. Shell: e:\cygwin\usr\bin\bash.exe, EOL: 0
. Local directory: C:\, Remote directory: f:\FTP, Update: No
. Clear aliases: Yes, Unset nat.vars: Yes
. Alias LS: No, Ign LS warn: Yes, Scp1 Comp: No

. Doing startup conversation with host (shell).
. Skipping host startup message (if any).
> echo "WinSCP: this is end-of-file:0"
< WinSCP: this is end-of-file:0
. Detecting variable containing return code of last command.
. Trying "$status".
> echo "$status" ; echo "WinSCP: this is end-of-file:0"
< WinSCP: this is end-of-file:0
. Trying "$?".
> echo "$?" ; echo "WinSCP: this is end-of-file:0"
< 0
< WinSCP: this is end-of-file:0
. Return code variable "$?" selected.
. Looking up current user groups.
> groups ; echo "WinSCP: this is end-of-file:$?"
! /usr/bin/bash: line 4: groups: command not found
< WinSCP: this is end-of-file:127

I can log in fine during an ssh session, but for some reason my WinSCP sessions can't find the commands. For some reason maybe the path's are not compatible between WinSSHD and WinSCP? Any help would be greatly appreciated!
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24994
Location: Prague, Czechia
Anonymous wrote:
. Looking up current user groups.
> groups ; echo "WinSCP: this is end-of-file:$?"
! /usr/bin/bash: line 4: groups: command not found
< WinSCP: this is end-of-file:127

Have you tried to uncheck "Lookup user groups" option? (on Shell tab)
_________________
Martin Prikryl
dcn19
[View user's profile]

Joined: 2003-01-03
Posts: 1
Location: Annapolis, MD
My original post only included a partial log. It wasn't just user group lookup that failed. Almost alll commands failed. I can supply the entire log if needed.

Thanks
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24994
Location: Prague, Czechia
dcn19 wrote:
My original post only included a partial log. It wasn't just user group lookup that failed. Almost alll commands failed. I can supply the entire log if needed.

Please send me entire log
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