Friday, May 9, 2008

ssh client for Windows with command line - copSSH

I just looked at pretty much everything available out there.

I like this one the best, and it's free. This is just a simple add-on that will give your cmd.exe additional functionality like ssh. I've used it on Windows 2000 and Windows XP.

Download copSSH - OpenSSH for Windows from


http://sourceforge.net/project/showfiles.php?group_id=69227&package_id=127780&release_id=615115




copSSH is an ssh server and client implementation for windows systems. It is a yet another packaging of portable openssh, cygwin, some popular utilites, plus implementation of some best practices regarding security. You can use COPSSH for remote administration of your systems or gathering remote information in a secure way.



Here's a list of the commands available:

Directory of C:\Program Files\copSSH\bin

[.] [..] bash.exe cat.exe
chgrp.exe chmod.exe chown.exe copsshadm.exe
cp.exe cygcheck.exe cygcrypt-0.dll cygcrypto-0.9.8.dll
cygiconv-2.dll cygintl-1.dll cygintl-2.dll cygintl-3.dll
cygintl-8.dll cygminires.dll cygncurses-8.dll cygpath.exe
cygpcre-0.dll cygpcre.dll cygpopt-0.dll cygreadline6.dll
cygrunsrv.exe cygwin1.dll cygwrap-0.dll cygz.dll
d2u.exe date.exe diff.exe false.exe
grep.exe groups gzip.exe less.exe
ln.exe ln.exe.manifest ls.exe mkdir.exe
mkgroup.exe mkpasswd.exe mount.exe mv.exe
ps.exe pwd.exe rm.exe scp.exe
sed.exe sftp-server.exe sftp.exe sftponly
sort.exe ssh-add.exe ssh-agent.exe ssh-keygen.exe
ssh-keygen.exe.manifest ssh-keyscan.exe ssh-keysign.exe ssh.exe
sshd.exe tail.exe tar.exe touch.exe
u2d.exe umount.exe UserActivationWizard.exe UserDeactivationWizard.exe
wc.exe


You don't need to download Cygwin separately since copSSH has its own copy in the installer.

After you install copSSH, just add the path to the bin directory to your system's Path.

eg. C:\Program Files\copSSH\bin

You can open the CMD shell from the Start menu or from the normal cmd.exe.


C:\WINDOWS\system32>ssh
usage: ssh [-1246AaCfgKkMNnqsTtVvXxY] [-b bind_address] [-c cipher_spec]
[-D [bind_address:]port] [-e escape_char] [-F configfile]
[-i identity_file] [-L [bind_address:]port:host:hostport]
[-l login_name] [-m mac_spec] [-O ctl_cmd] [-o option] [-p port]
[-R [bind_address:]port:host:hostport] [-S ctl_path]
[-w local_tun[:remote_tun]] [user@]hostname [command]


You may also want to check the QuickEdit Mode in your cmd.exe window's Options tab. This will let you copy text by selecting it and hitting the Enter key, or right-click into the window to paste any text in your Clipboard.

That's it. Nothing else to download. It just works.



credits: http://www.itefix.no/

-J

0 Comments:

Post a Comment

<< Home