SSH problem

Julian Stacey
Mon, 26 Jan 2009 18:58:30 -0000

Hi,
Reference:
> From:		Xian Chen <hoganxian@gmail.com>
> Date:		Mon, 26 Jan 2009 13:45:56 -0500
> Message-id:
<a2dd20fc0901261045m57230e5cr8d22d905517c8629@mail.gmail.com>

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