Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 04-05-2006, 06:28 PM   #1
Registered: Feb 2006
Posts: 31

Rep: Reputation: 15
SSH connection from Linux to Windows using PuTTy

im curious to know if i can get a command-shell from my windows box, running an ssh server, by using putty on my linux box.

wut command should i put into linux???
here's the error i get when i type: putty -P 22 -ssh

Xlib: connection to ":0.0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key

Gtk-WARNING **: cannot open display: :0.0

so, any ideas????
Old 04-05-2006, 06:32 PM   #2
LQ Guru
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 272Reputation: 272Reputation: 272
Here's a link to how to setup the ssh server on windows. Then you should be able to ssh in. Not sure what kind of CLI it will give you (i.e. a windows command prompt or a cygwin command prompt)...
Old 04-05-2006, 06:34 PM   #3
Registered: Feb 2006
Posts: 31

Original Poster
Rep: Reputation: 15
never mind, i got it... proper command was: ssh, not putty.. topic closed


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Printing from Linux to Windows Printer through puTTY (ssh)? itsman Linux - Networking 1 09-22-2004 12:50 PM
Putty and ssh connection hangs KidKootenay Linux - Newbie 7 09-03-2004 11:30 PM
putty SSH connection deWin Linux - Newbie 3 03-26-2004 09:47 AM
my PuTTY connection over ssh is too slow. chris.pickett Linux - Networking 2 11-22-2003 02:57 AM
Connection from Win98 to RH9 through putty (SSH) mikeshn Linux - Networking 14 07-13-2003 01:03 AM > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 11:43 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration