You are not logged in.

#1 2003-12-11 21:06:20

neolution
Member
From: RIT
Registered: 2003-12-11
Posts: 15
Website

SFTP Troubles

Hello, I'm running the latest OpenSSH version on my server, when I try and SSH into it via the Windows SSH client, I get to a command prompt just fine, however when I try to open a file transfer window I get the following message:

File transfer server could not be started or it exited unepectedly. Exit value 0 was returned. Most likely the sftp-server is not in the path of the user on the server-side

i've tried the following with no apparent success

adding /usr/lib/ssh (where sftp-server is located) to the users .bashrc
adding both sftp-server:ALL:
and sftp:ALL: to the hosts.allow file

and yes the bottom of my sshd_config file has

Subsystem         sftp        /usr/lib/ssh/sftp-server

any help in this matter would be appreaciated, thank you


Hey what are you guys trying to pull, issue 0x0f is the same as 0x16"

Offline

#2 2003-12-12 00:24:49

farphel
Forum Fellow
From: New Hampshire - USA
Registered: 2003-09-18
Posts: 250
Website

Re: SFTP Troubles

Have you tried sftp'ing to your local system to your local system to make sure the sftp subsystem is working correctly?  For example. if your local Arch system has an IP of 192.168.1.2 try 'sftp 192.168.1.2' and see if you are able to get in.

What are you using for a Windows client?  I've had great success with PuTTY and companions.


Follow the link below, sign up, and accept one promotional offer.  If I can get five suckers (err... friends) to do this, I'll get a free iPod.  Then you too can try to get a free iPod. Thanks! http://www.freeiPods.com/?r=11363142

Offline

#3 2003-12-13 00:16:27

neolution
Member
From: RIT
Registered: 2003-12-11
Posts: 15
Website

Re: SFTP Troubles

from my windows box i'm using the SSH Secure Shell client

i've tried

sftp localhost

on the arch box
after entering the correct password i get the following error

Recieved message too long 607203376

Hey what are you guys trying to pull, issue 0x0f is the same as 0x16"

Offline

#4 2003-12-13 00:29:28

neolution
Member
From: RIT
Registered: 2003-12-11
Posts: 15
Website

Re: SFTP Troubles

upon browsing other forums i have realized the error

The reason the shell startup files are relevant at all, is that sshd employs the user's shell when starting any programs on the user's behalf (using e.g. /bin/sh -c "command").

--Snailbook

so it was my fault for my careless implementation of fortune in user's bash config files


Hey what are you guys trying to pull, issue 0x0f is the same as 0x16"

Offline

Board footer

Powered by FluxBB