While logging in to my FreeBSD 6.0 box using ibsh works fine via SSH, when trying to use WinSCP, which uses SFTP, it seems to think no SFTP server is running. Is there a command to allow for this?
Here is the last part of my WinSCP log:
. 2006-05-07 12:48:42.603 Access granted
. 2006-05-07 12:48:42.623 Opened channel for session
. 2006-05-07 12:48:42.653 Started a shell/command
. 2006-05-07 12:48:42.673 --------------------------------------------------------------------------
. 2006-05-07 12:48:42.693 Using SFTP protocol.
. 2006-05-07 12:48:42.724 Doing startup conversation with host.
> 2006-05-07 12:48:42.744 Type: SSH_FXP_INIT, Size: 5, Number: -1
. 2006-05-07 12:48:42.774 Server sent command exit status 0
. 2006-05-07 12:48:42.794 All channels closed. Disconnecting
. 2006-05-07 12:48:42.824 Server closed network connection
* 2006-05-07 12:48:42.854 (ESshFatal) Cannot initialize SFTP protocol. Is the host running a SFTP server?
* 2006-05-07 12:48:42.854 Connection has been unexpectedly closed. Server sent command exit status 0.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I get nothing in /var/log/messages, auth.log or debug.log pertaining to my attempt to login. So, I put sshd in debug mode and watched while connecting, this is all I see...
I'm also having this problem. When running the ibsh, I can no longer connect to that acount with an SFTP connection. What else do I need to add to the global.cmds file?
-James
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Sorry - tried to respond yesterday & got on ibsh thread instead. To summarize:
1. have to put your command in list & copy command into directory.
2. I encountered ibsh bug in processing path. I was only able to identify bug by recompiling ibsh with some diagnostic printout.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This subject is stale, but I have an addition: the newer versions of openssh allow you to specify the internal sftp server rather than the external executable. This resolves this issue nicely without requiring any modification to the ibsh configuration.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
While logging in to my FreeBSD 6.0 box using ibsh works fine via SSH, when trying to use WinSCP, which uses SFTP, it seems to think no SFTP server is running. Is there a command to allow for this?
Here is the last part of my WinSCP log:
. 2006-05-07 12:48:42.603 Access granted
. 2006-05-07 12:48:42.623 Opened channel for session
. 2006-05-07 12:48:42.653 Started a shell/command
. 2006-05-07 12:48:42.673 --------------------------------------------------------------------------
. 2006-05-07 12:48:42.693 Using SFTP protocol.
. 2006-05-07 12:48:42.724 Doing startup conversation with host.
> 2006-05-07 12:48:42.744 Type: SSH_FXP_INIT, Size: 5, Number: -1
. 2006-05-07 12:48:42.774 Server sent command exit status 0
. 2006-05-07 12:48:42.794 All channels closed. Disconnecting
. 2006-05-07 12:48:42.824 Server closed network connection
* 2006-05-07 12:48:42.854 (ESshFatal) Cannot initialize SFTP protocol. Is the host running a SFTP server?
* 2006-05-07 12:48:42.854 Connection has been unexpectedly closed. Server sent command exit status 0.
I think you should allow `scp' in global.cmds for scp o work for the client.
No, I tried that already as well as everything else I could think of, here are my global.cmds:
cd
ls
pwd
logout
exit
touch
mkdir
rm
pico
scp
sftp
sftp-server
ssh
sshd
try to tail /var/log/messages while you're working with WinSCP.
I get nothing in /var/log/messages, auth.log or debug.log pertaining to my attempt to login. So, I put sshd in debug mode and watched while connecting, this is all I see...
<snip>
subsystem request for sftp
debug1: sybsystem: exec() /usr/libexec/sftp-server
debug1: Received SIGCHLD.
debug1: session_by_pid: pid 23011
debug1: session_exit_message: session 0 channel 0 pid 23011
debug1: session_exit_message: release channel 0
debug1: session_close: session 0 pid 23011
<snip>
Hello,
I am using ibsh into vservers and my remote clients couldn't transfer file with scp.
With other unrestricted shells the scp works fine.
I didn't find any workaround about this problem.
Does anyone find out a solution ?
I got it to work with scp in the globals.cmds
I'm also having this problem. When running the ibsh, I can no longer connect to that acount with an SFTP connection. What else do I need to add to the global.cmds file?
-James
any help with sftp issue please?
I 'm getting "Connection closed" for user with /bin/ibsh
Was there a fix for this? Specifically, using sftp clients failing (WinSCP/Filezilla-sftp, etc)?
I have the same problem.. using ibsh i can not connect with my ssh server thru the sftp service.
Does anybody have a solution?
Thanks
Javier Jara
Sorry - tried to respond yesterday & got on ibsh thread instead. To summarize:
1. have to put your command in list & copy command into directory.
2. I encountered ibsh bug in processing path. I was only able to identify bug by recompiling ibsh with some diagnostic printout.
This subject is stale, but I have an addition: the newer versions of openssh allow you to specify the internal sftp server rather than the external executable. This resolves this issue nicely without requiring any modification to the ibsh configuration.