Hi,
Reference:
> From:         Xian Chen <[email protected]> 
> Date:         Mon, 26 Jan 2009 13:45:56 -0500 
> Message-id:   <[email protected]> 

Xian Chen wrote:
> Hi All,
> 
> I can use scp to move files from a linux to my Freebsd machine.
> 
> But, when I try to use WinSCP under windows, it always failed. WinSCP
> errors: "Network error: Connection refused". Both scp & sftp fail if using
> WinSCP.
> 
> Any clues for this?

on FreeBSD:
        man sftp says -v option exists
        man ssh also offers -v
so try both those from Win/Lose/Mickesoft (*),
Also ref.
        man sshd 
try 
         kill -9 `cat /var/run/sshd.pid`
or hash out sshd line in /etc/inetd.conf & then 
        kill -HUP `cat /var/run/inetd.pid`
& then run  as root
        /usr/sbin/sshd -D -d 
& 
        more /var/run/auth.log

(*) PS I hate MS & dont use it, but doesnt invalidate debug stuff above
though, except you might need to start ssh from a command line to
add a parameter, rather than just clicking.

Cheers,
Julian
-- 
Julian Stacey: BSDUnixLinux C Prog Admin SysEng Consult Munich www.berklix.com
  Mail plain ASCII text.  HTML & Base64 text are spam. www.asciiribbon.org
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[email protected]"

Reply via email to