Date: Mon, 26 Jan 2009 21:54:03 +0100 From: "Julian Stacey" <jhs@berklix.org> To: Xian Chen <hoganxian@gmail.com> Cc: freebsd-stable@freebsd.org Subject: Re: SSH problem Message-ID: <200901262055.n0QKs31N054621@fire.js.berklix.net> In-Reply-To: Your message "Mon, 26 Jan 2009 13:45:56 EST." <a2dd20fc0901261045m57230e5cr8d22d905517c8629@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200901262055.n0QKs31N054621>