LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 03-21-2007, 11:08 PM   #1
zulfahmi
LQ Newbie
 
Registered: Feb 2007
Posts: 22

Rep: Reputation: 15
SSH configuration


Hi there
i got some problem with my SSH
i had install SSH on my linux server as SSH server and my client are window users
the problem is that my client(window) can SSH my linux server using putty but my linux server cant ssh my client
i had generate the ssh-keygen on my server and i had configure my hosts.allow file to allow all my user but still i cant ssh them
to could anyone help my with these
 
Old 03-21-2007, 11:30 PM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
Do you mean that you want to SSH into the windows PCs? If so, you will need the SSH daemon running on them to accept the connections. Somebody else here may know of a native SSH daemon for windows (I don't), but if you search Google there are hits for running the SSH daemon under cygwin on windows.
 
Old 03-22-2007, 05:44 AM   #3
zulfahmi
LQ Newbie
 
Registered: Feb 2007
Posts: 22

Original Poster
Rep: Reputation: 15
yes
i want to remote to my window pc.
seriously i dont know bout the deamon because from all the manual i got they dont tell how to test the service with user from window platfrom n they dont tell how to configure the window client or how to configure the server to allow ssh connection from window connection
could anyone tell me how to deamon the ssh or how to configure the server to accept connection from window user
 
Old 03-22-2007, 09:18 AM   #4
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
If you use the program named putty (http://www.chiark.greenend.org.uk/~sgtatham/putty/), you'll be able to connect from windows to a linux server via SSH. You cannot use the same program to ssh from linux t windows however. To do that, you need to be running a program call cygwin, which is a *nix emulator that runs on windows.

Cygwin can be downloaded from http://www.cygwin.com and a good writeup on how to run ssh inside of it is here - http://pigtail.net/LRP/printsrv/cygwin-sshd.html

Cygwin doesn't give you anything but a text connection to the windows box, just like ssh on linux. If you actually want to be able to "see" what is going on and run windows applications, you'll need to use either a remote desktop client or vnc to get a desktop on a windows box from linux.

Peace,
JimBass
 
Old 03-22-2007, 09:25 AM   #5
kenneth.ramsey
LQ Newbie
 
Registered: Sep 2005
Posts: 23

Rep: Reputation: 15
Depending on what version of Windows you're running will depend on what you use for remote desktop. If you're running XP Professional you cna use either Remote Desktop or VNC. If you're running anything else you need to use VNC. If you use Remote Desktop you wil need to enable it in System Properties.
Personally I recommend VNC but that is just a recommendation. I use both depending on what I"m doing. In fact I use remote desktop to control a server and from there I use VNC to control another computer on my personal network.
 
Old 03-22-2007, 10:23 AM   #6
zulfahmi
LQ Newbie
 
Registered: Feb 2007
Posts: 22

Original Poster
Rep: Reputation: 15
thanks to kenneth.ramsey and JimBass for ur help
i will try both of ur suggestion.
1 more thing, do i had to configure the putty to be client to my linuxserver because sometime 1 of my window server@client cant ssh the linux server even using the putty
 
Old 03-22-2007, 10:28 AM   #7
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
Unless you've done something strange to the sshd config on the server, nothing needs to be done to allow putty to work. Just put the the IP of the server, and your username, then it will prompt you for the password.

You may need to forward port 22 from your router to the linux machine if you are trying to connect over the internet rather than just within your LAN.

Peace,
JimBass
 
  


Reply



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
SSH Configuration wildcat22 Linux - Networking 1 09-27-2005 08:47 AM
SSH Configuration xedios Linux - Software 2 10-25-2004 03:02 PM
ssh configuration questions vidarz Debian 2 06-08-2004 10:06 AM
SSH configuration help dt23 Mandriva 16 04-07-2004 03:29 PM
SSH configuration...someone please help leroy27336 Linux - Networking 28 11-16-2003 01:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:52 AM.

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