LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-17-2011, 11:52 AM   #16
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,527

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898

Quote:
I have sean the file in /etc/ssh/ssh_conf but i does know how to use it.in my enviroment i am using fedora as well on client side.
On your linux box, you have changed the port for ssh from 22 to 2222
To see if the connection works locally, open a terminal on the server and type
Code:
ssh -p 2222 127.0.0.1
To connect from the windows computer, start putty
set the port to 2222 and connect to the ip from the linux computer
If you want to ssh from a linux computer to another linux computer, open a terminal and type
Code:
ssh -p 2222 xxx.xxx.xxx.xxx
where xxx.xxx.xxx.xxx is the ip from the linux server
If you can't connect, make sure the ssh daemon is running on the server, and the firewall allows connections to port 2222

Kind regards
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 01-17-2011, 12:05 PM   #17
gardenair
Member
 
Registered: Oct 2004
Location: LH
Posts: 610

Original Poster
Rep: Reputation: 31
to use putty will be very simple.If boh computers on the network are linux then ssh will be ideal.
I have sean the file in /etc/ssh/ssh_conf but i does know how to use it.in my enviroment i am using fedora as well on client side.
 
Old 01-17-2011, 12:15 PM   #18
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,527

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
Quote:
Originally Posted by gardenair View Post
to use putty will be very simple.If boh computers on the network are linux then ssh will be ideal.
I have sean the file in /etc/ssh/ssh_conf but i does know how to use it.in my enviroment i am using fedora as well on client side.
What is the problem?
What doesn't work?
What do you want to do?

Kind regards
 
Old 01-17-2011, 12:22 PM   #19
amorphous
LQ Newbie
 
Registered: Jun 2008
Distribution: etch & ubuntu
Posts: 2

Rep: Reputation: 0
like repo says, install open-ssh onto yr linux machine - he left a link for the howto, it'l be something like:

apt-get install open-ssh

put putty on the windows box and run putty to access the linux box. It'l just give you a prompt and you can do yr banter, init


If your accessing from outside your network (through the internet) I'd thoroughly reccommend installing fail2ban too. It'l make your machine a lot safer.

dont be afraid to jump in and just do it, apt-get makes it easy to 'undo' things in linux. just use it as much as poss, try not to download apps from the web and you'll be sound in no time

Good luck!
 
Old 01-17-2011, 12:29 PM   #20
gardenair
Member
 
Registered: Oct 2004
Location: LH
Posts: 610

Original Poster
Rep: Reputation: 31
very good guidance.there is sshd file as well.it use public and private keys.public key reside on the server where as private is uses by the end user.The private key is always keep secret.
How to use sshd and in which situations we use sshd instead of ssh?
Thanks
 
Old 01-17-2011, 12:55 PM   #21
gardenair
Member
 
Registered: Oct 2004
Location: LH
Posts: 610

Original Poster
Rep: Reputation: 31
i am thanks repo for yoir guidance.well things works fine and iam glad to work.
But when i explore ssh diir i found ,many questions in my mind especially sshd.these r new things.thanks again many many times for the superb guidance.
 
Old 01-17-2011, 12:59 PM   #22
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,527

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
Quote:
How to use sshd and in which situations we use sshd instead of ssh?
sshd is the daemon of the ssh server, which runs on the receiving machine
It will listen on port 22 for any connections
ssh is the protocol used to connect, like ftp etc
Some more readings
http://en.wikipedia.org/wiki/Secure_Shell

Kind regards
 
Old 01-17-2011, 01:04 PM   #23
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,200

Rep: Reputation: 397Reputation: 397Reputation: 397Reputation: 397
putty/openssh should work
note that if in the future you do want remote desktop type capabilities you could add either vnc or Xming
 
Old 01-17-2011, 01:25 PM   #24
gardenair
Member
 
Registered: Oct 2004
Location: LH
Posts: 610

Original Poster
Rep: Reputation: 31
i am thanks repo for yoir guidance.well things works fine and iam glad to work.
But when i explore ssh diir i found ,many questions in my mind especially sshd.these r new things.thanks again many many times for the superb guidance.
 
Old 01-17-2011, 01:32 PM   #25
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,527

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
If you find the problem is solved, you can close the thread using the thread tools.

Kind regards
 
  


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
Can't access Linux Web server on LAN fedix Linux - Networking 5 09-30-2011 04:18 AM
access windows partition from linux on my lan ALInux Linux - Networking 7 01-12-2009 12:11 AM
How To Access Lan In Linux arunkumarMK Linux - Networking 1 11-19-2007 04:40 AM
Transparent access to linux machine on LAN Sinope Linux - Networking 2 09-27-2004 02:18 AM
configure linux to internet access in a LAN poncho4u Slackware 9 08-16-2003 11:56 AM


All times are GMT -5. The time now is 10:07 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration