LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


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

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


hey,
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 192.168.1.2

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
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
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)...

http://pigtail.net/LRP/printsrv/cygwin-sshd.html
 
Old 04-05-2006, 06:34 PM   #3
legendaryhwk
Member
 
Registered: Feb 2006
Posts: 31

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


Reply


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

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

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