LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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, 10:52 AM   #16
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899

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, 11:05 AM   #17
gardenair
Member
 
Registered: Oct 2004
Location: LH
Posts: 648

Original Poster
Rep: Reputation: 45
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, 11:15 AM   #18
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
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, 11:22 AM   #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, 11:29 AM   #20
gardenair
Member
 
Registered: Oct 2004
Location: LH
Posts: 648

Original Poster
Rep: Reputation: 45
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, 11:55 AM   #21
gardenair
Member
 
Registered: Oct 2004
Location: LH
Posts: 648

Original Poster
Rep: Reputation: 45
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, 11:59 AM   #22
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
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, 12: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,233

Rep: Reputation: 406Reputation: 406Reputation: 406Reputation: 406Reputation: 406
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, 12:25 PM   #24
gardenair
Member
 
Registered: Oct 2004
Location: LH
Posts: 648

Original Poster
Rep: Reputation: 45
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:32 PM   #25
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

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

Kind regards
 
  


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:54 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