LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 04-27-2015, 09:04 AM   #1
hack3rcon
Senior Member
 
Registered: Jan 2015
Posts: 1,432

Rep: Reputation: 11
Thumbs down Ubuntu can't accept SSH connection.


Hello.
I installed Ubuntu 14.4 LTS BUT I can't connect to it via ssh. it show me :

ssh: connect to host 172.30.14.63 port 22: Connection refused

how can I solve it?
 
Old 04-27-2015, 09:13 AM   #2
T3RM1NVT0R
Senior Member
 
Registered: Dec 2010
Location: Internet
Distribution: Linux Mint, SLES, CentOS, Red Hat
Posts: 2,385

Rep: Reputation: 477Reputation: 477Reputation: 477Reputation: 477Reputation: 477
Make sure that you have sshd-server running on the box. If it is not you can start it by:

Code:
service sshd start
If it says unrecognized service, then install it using:

Code:
apt-get install sshd-server
If that does not work then run:

Code:
apt-get update
Once update is finished run:

Code:
apt-get install sshd-server
Then check using service sshd status if it is running or not, if it is not running start it using: service sshd start. Try to ssh. This is based on my personal experience with Ubuntu 14.04.
 
Old 04-27-2015, 09:44 AM   #3
hack3rcon
Senior Member
 
Registered: Jan 2015
Posts: 1,432

Original Poster
Rep: Reputation: 11
Thank you.
 
Old 04-27-2015, 09:46 AM   #4
T3RM1NVT0R
Senior Member
 
Registered: Dec 2010
Location: Internet
Distribution: Linux Mint, SLES, CentOS, Red Hat
Posts: 2,385

Rep: Reputation: 477Reputation: 477Reputation: 477Reputation: 477Reputation: 477
You're welcome and thanks for marking the thread as solved!
 
  


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
ubuntu. ssh connection to closed seether999 Linux - Newbie 1 11-01-2014 01:07 PM
Can we make ssh to accept connection from only one IP? PoleStar Linux - Newbie 1 06-23-2011 02:57 PM
Ubuntu Server Does Not Accept Incoming Network Connections Like SSH Subject16 Linux - Networking 3 02-25-2011 03:37 PM
Slow ssh connection over lan with Ubuntu Desktop and Ubuntu Server Recursion Linux - Networking 1 05-23-2009 02:17 AM
Accept outgoing SSH connection G00fy Linux - Security 4 08-25-2008 09:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

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