LinuxQuestions.org
Register a domain and help support LQ
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 04-30-2010, 06:01 AM   #16
yewint
Member
 
Registered: Dec 2009
Posts: 57

Original Poster
Rep: Reputation: 15

what a shame . I will install it right now and thank u for ur times.
 
Old 04-30-2010, 06:18 AM   #17
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295
Hi,

No need to feel ashamed. Happens or happened to all of us one time or another. If it works after installation, then please mark this thread as solved using the thread tools.

Kind regards,

Eric
 
Old 04-30-2010, 07:16 AM   #18
yewint
Member
 
Registered: Dec 2009
Posts: 57

Original Poster
Rep: Reputation: 15
hi, I have installed ssh server and running.
the command "netstat -al | grep ssh" give the output

Quote:
tcp 0 0 *:ssh *:* LISTEN
tcp6 0 0 [::]:ssh [::]:* LISTEN
but when i access from the client " ssh 192.1.254.103"
it seems hang. I'v waited several minutes , and got the msg
"connection timeout".

Quote:
ssh: connect to host 192.1.254.103 port 22: Connection timed out
i have doubt that there is a problem in underlying network.

Last edited by yewint; 04-30-2010 at 07:22 AM.
 
Old 04-30-2010, 07:25 AM   #19
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295
Hi,

Do you have by any chance a firewall activated on that server? Or SELinux enabled? Check with these for default systems:
Code:
iptables -L
sestatus
and post output of those commands here. These are only for default installed systems, if you installed another firewall on your server you'll have to let us know which one.

Kind regards,

Eric

Last edited by EricTRA; 04-30-2010 at 07:26 AM.
 
Old 04-30-2010, 07:41 AM   #20
yewint
Member
 
Registered: Dec 2009
Posts: 57

Original Poster
Rep: Reputation: 15
the first command give

Quote:
Chain INPUT (policy ACCEPT)
target prot opt source destination


Chain FORWARD (policy ACCEPT)
target prot opt source destination


Chain OUTPUT (policy ACCEPT)
target prot opt source destination
 
Old 04-30-2010, 07:46 AM   #21
yewint
Member
 
Registered: Dec 2009
Posts: 57

Original Poster
Rep: Reputation: 15
"command not found" for "sestatus"
 
Old 04-30-2010, 07:49 AM   #22
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295
Hi,

When connected to your desktop are you using the same username as on your server? By default, AFAIK, if you just type:
Code:
ssh servername or ipaddress
ssh tries to connect with the same username as you used to log in on your desktop/client system. Can you try the following:
Code:
ssh user@servername
where user of course has to be a user that exists on your server (or root if you have ssh access enabled for root).

Kind regards,

Eric
 
Old 05-01-2010, 04:01 AM   #23
saagar
Member
 
Registered: Jul 2008
Location: Chennai, India
Distribution: RHEL5, Ubuntu
Posts: 191

Rep: Reputation: 37
I think the package needed in ubuntu server is openssh-server:

Code:
 #apt-get install openssh-server

Last edited by saagar; 05-01-2010 at 04:20 AM.
 
Old 05-02-2010, 10:55 PM   #24
yewint
Member
 
Registered: Dec 2009
Posts: 57

Original Poster
Rep: Reputation: 15
thansks for your time ,guys. I got it .
 
Old 05-03-2010, 01:46 AM   #25
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295
Hi yewint,

Would you mind posting what was missing or wrong so that other users can take advantage of this thread also?

If you consider your question/problem solved then please mark this thread as such using the Thread Tools.

Kind regards,

Eric
 
  


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
Slow ssh connection over lan with Ubuntu Desktop and Ubuntu Server Recursion Linux - Networking 1 05-23-2009 03:17 AM
.ssh in ubuntu preeteshbarretto Linux - Newbie 3 02-25-2009 10:52 AM
ssh in ubuntu taydu3000 Linux - Desktop 2 01-23-2008 07:55 PM
ssh keys in ubuntu binary_dreamer Ubuntu 3 01-20-2008 08:52 PM
Cannot ssh to the ubuntu machine mesh2005 Linux - Networking 5 11-15-2006 08:11 AM


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