freeSSHd and freeFTPd

Remember me Registration (Optional)

Please note that there is no official support from the author for freeSSHd or freeFTPd. You should not expect to receive response on messages posted here.

Forums -> freeSSHd - General -> freeSSHd and scp
Postings: 1-10 11-13  Reply | New topic

Blade

Anonymous
          
question.gif freeSSHd and scp 16-06-2005 02:56
What is the trick to get freeSSHd to accept scp connections?

I am able to ssh to the system without problems....but when I try to scp I get an error:

509:blade:~> scp /tmp/foo administrator@objy070:/temp
administrator@objy070's password:
lost connection

Maybe my syntax is not correct? How do I specify a drive letter?

Thanks,
Blade.
Reply with quote

blade

Anonymous
          
Re: freeSSHd and scp 16-06-2005 03:00
P.S. The log does not show any errors:

...
...
06-15-2005 17:54:35 HOST blade.objy.com SSH connection attempt.
06-15-2005 17:54:38 LOGON SSH PASS
06-15-2005 17:54:38 HOST blade.objy.com SSH administrator successfully logged on
.
06-15-2005 17:54:38 HOST blade.objy.com SSH administrator disconnected.
...
...
...
Reply with quote

Lee Boon Shim

Anonymous
          
Re: freeSSHd and scp 27-06-2005 05:37
I'm having the same issue, any idea how to 'enable' the scp feature in freeSSHd?

Quote:
What is the trick to get freeSSHd to accept scp connections?

I am able to ssh to the system without problems....but when I try to scp I get an error:

509:blade:~> scp /tmp/foo administrator@objy070:/temp
administrator@objy070's password:
lost connection

Maybe my syntax is not correct? How do I specify a drive letter?

Thanks,
Blade.

Reply with quote

Makedonski

Anonymous
          
sad.gif Re: freeSSHd and scp 14-07-2005 13:49
[quote]I'm having the same issue, any idea how to 'enable' the scp feature in freeSSHd?

I'm using scp.exe from OpenSSH. But i have the same problem :( BUT! ssh.exe connect to this server without any problems. May be this problem caused by difference between OpenSSH and freeSSHd?
Reply with quote

Justin

Anonymous
          
question.gif Re: freeSSHd and scp 19-08-2005 19:34
[bump]
I'm having the same issue. Attempting scp connection from OpenSSH 3.8 to freeSSHd 1.0.6.
Reply with quote

Gene Wood

Postings: 1
Newcomer
          
Re: freeSSHd and scp 31-08-2005 01:16
I've been able to scp successfully, with cmd.exe set as the shell, however it seems to disregard destination directory settings. No matter what value one puts as the destination folder, the files end up in the user's home directory. Here's an example. Here I'm trying to upload a file to the "Desktop" folder. I've also tried "/../" and "/" and "/cygdrive/c/"

[username@host1 username]$ scp test username@host2:/Desktop/
username@host2's password:
test 100% 36 142.9KB/s 00:00
[username@host1 username]$ ssh -l username host2
username@host2's password:
Microsoft Windows [Version 5.2.3790]
(C) Copyright 1985-2003 Microsoft Corp.

C:WINDOWSsystem32>cd cd Documents and Settings

C:Documents and Settings>cd username

C:Documents and Settingsusername>dir
Volume in drive C is OS
Volume Serial Number is 8810-773C

Directory of C:Documents and Settingsusername

08/30/2005 04:11 PM <DIR> .
08/30/2005 04:11 PM <DIR> ..
08/30/2005 01:28 PM <DIR> Desktop
12/03/2004 03:55 PM <DIR> Favorites
06/07/2005 12:25 PM <DIR> My Documents
09/16/2003 12:06 PM <DIR> Start Menu
08/30/2005 04:11 PM 36 test
3 File(s) 46 bytes
6 Dir(s) 5,604,233,216 bytes free

Reply with quote

barreika

Anonymous
          
Re: freeSSHd and scp 08-01-2007 16:33
Hi,

today i have installes freessh because i have to copy files between Linux to Windows. It doesn't work with scp from Linux???
why???
scp ./filex.txt user@ip-adress:c:tmp ???
scp ./filex.txt user@ip-adress:share$ ???

see also:
password:
scp: Failed to open file mist.txt.
lost connection

connect via ssh user@ip-adress ....is o.k.

please help with the fu... windows

Karsten
Reply with quote

nik
Newcomer
          
Re: freeSSHd and scp 20-02-2007 11:56
freeSSHd scp problem ; scp: Failed to open file .... lost connection ;


----

I find the probem!

Change the SFTP server settings under the FreeSSHd GUI. Put away the $HOME in the 'Home Path'. A 'password stored as SHA1 hash' user do not have a $HOME.
Maybe someone of freeSSHd can fix this, because it takes you a long time, because the logging do not give a lot information.

---------------
Reply with quote

klenot
klenot

Postings: 4
Newcomer
          
FreeSSHd does not like scp -p 17-08-2007 16:26
I discovered, that '-p' switch with scp does not work when trying
to transfer files from Linux to FreeSSHd (running as service on Win 2000 with latest ServicePacks). I used to always use -p switch with scp, because it preserves source file timestamp at destination node.

Code:

linuser@linrig:~ scp -v -p -o 'Protocol 2' somefile vschip@w2krig:
Executing: program /usr/bin/ssh host w2krig, user vschip, command scp -v -p -t .
Sending file modes: C0700 4379 somefile


... and then it locks up in endless loop. One must hit Ctrl-C to send signal 2. At the destination rig, a file with zero size will be created, but its name is not the same as the source file name. In my case the created file got name '1187358810 0' (yes, with space inside) and it never has been transfered (it has 0 bytes forever).

Once I removed the -p option, it works well:
Code:

linuser@linrig:~ scp -v -o 'Protocol 2' somefile vschip@w2krig:
Executing: program /usr/bin/ssh host w2krig, user vschip, command scp -v -t .
Sending file modes: C0700 4379 somefile
somefile 100% |**************************************| 4379 00:00
linuser@linrig:~

Reply with quote

freesshd
Your main contact

Postings: 936
Administrator
          
Re: freeSSHd and scp 17-08-2007 22:28
It looks like a parsing problem. freeSSHd parses out '1187358810' as a filename, but it looks more like a standard UNIX time.

We'll check it out and fix it ASAP.

Thanks for reporting.
Reply with quote
Postings: 1-10 11-13  

Search the forum

Latest posts

Current version

Related sites

Internet & Security Components

VPN and Instant Messaging - all in one!