LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 09-16-2016, 01:55 AM   #1
kohshan99
Member
 
Registered: Sep 2012
Posts: 71

Rep: Reputation: Disabled
Ubuntu 12.4 LTS ssh access


using ubuntu 12.04 LTS x86_64. i can ping this system but can't access via ssh. sometime it show me to enter user name when i put username like 'root' then enter passwd. after nothing..

and it will be ok after restarting this system (sorry_for_bad_english)
screenshot attached.
Attached Thumbnails
Click image for larger version

Name:	ssh.png
Views:	17
Size:	198.4 KB
ID:	23029  

Last edited by kohshan99; 09-16-2016 at 02:03 AM.
 
Old 09-16-2016, 03:39 AM   #2
Turbocapitalist
LQ Guru
 
Registered: Apr 2005
Distribution: Linux Mint, Devuan, OpenBSD
Posts: 7,307
Blog Entries: 3

Rep: Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721
I can't recall what the default settings are for Ubuntu 12.04, but for quite some time root login over SSH has been prohibited by default. So with that in mind, what happens when you try logging in as a normal user?

Other things to try would be connecting using more verbosity on the client.

Code:
ssh -v kohshan99@server.example.com
ssh -vv kohshan99@server.example.com
ssh -vvv kohshan99@server.example.com
The messages there might give an indication of what is going wrong. Alternately, if you have console access to the server you might look in the log file /var/log/auth to see what the SSH server says is happening.
 
Old 09-16-2016, 04:11 AM   #3
kohshan99
Member
 
Registered: Sep 2012
Posts: 71

Original Poster
Rep: Reputation: Disabled
well... its not just a ssh problem. actually em streaming live channels from this server. channels also not working in this situation. i have to restart this machine to get channels back on live and other stuff like ssh.
 
Old 09-16-2016, 04:22 AM   #4
Turbocapitalist
LQ Guru
 
Registered: Apr 2005
Distribution: Linux Mint, Devuan, OpenBSD
Posts: 7,307
Blog Entries: 3

Rep: Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721
Ok. It sounds more like a networking problem if several services are affected. Can you make the problem occur on demand? Can you monitor the system log file and see if anything useful comes up when the problem occurs? Open a terminal window and run "tail" to monitor the log live.

Code:
tail -f /var/log/syslog
That will show a live feed of the latest entries.
The log file is readable to any account that is a member of the adm group.
 
Old 09-16-2016, 05:08 AM   #5
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Threre's a root account on Ubuntu 12.04?
I thought root login was disabled by Ubuntu.
 
Old 09-16-2016, 05:10 AM   #6
Turbocapitalist
LQ Guru
 
Registered: Apr 2005
Distribution: Linux Mint, Devuan, OpenBSD
Posts: 7,307
Blog Entries: 3

Rep: Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721
Quote:
Originally Posted by Habitual View Post
Threre's a root account on Ubuntu 12.04?
I thought root login was disabled by Ubuntu.
Some enable it. It's not recommended though and I would also discourage it and prefer adjusting sudoers properly.
 
Old 09-16-2016, 07:18 AM   #7
kohshan99
Member
 
Registered: Sep 2012
Posts: 71

Original Poster
Rep: Reputation: Disabled
and when i connect it to lcd, there is noting but black screen even keyboard won't work. i've to unplug power cable then put it back after that everything working..
 
Old 09-16-2016, 08:05 AM   #8
Turbocapitalist
LQ Guru
 
Registered: Apr 2005
Distribution: Linux Mint, Devuan, OpenBSD
Posts: 7,307
Blog Entries: 3

Rep: Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721
Ok. When it happens, can you make note of the time and then use "less" to check the logs to see what happens at that time?

Code:
less /var/log/syslog
Also, is there any way for you to make the problem happen on purpose?
 
Old 09-19-2016, 01:14 AM   #9
kohshan99
Member
 
Registered: Sep 2012
Posts: 71

Original Poster
Rep: Reputation: Disabled
seems there is problem with hardware. coz whenever i press function(i.e F2) key for go to server bios, server got freez on recovery screen and then i have to unplug power cable remove hard disk and connect with another system to press enter for normal boot. i already installed different version of ubuntu os. i was searching in syslogs for any abnormal activity but there is nothing spacial..
 
  


Reply

Tags
ssh access, ubuntu 12.04



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
LXer: Ubuntu 12.04.5 LTS (Precise Pangolin) Released with Linux Kernel from Ubuntu 14.04 LTS LXer Syndicated Linux News 0 08-08-2014 08:00 AM
Remote Access Ubuntu 12.04 LTS server ubuntu-fanatic220 Linux - Server 1 04-08-2013 04:00 PM
Install Ubuntu 10.04 LTS on NAS via SSH farmer-duck Linux - Server 0 05-28-2011 03:00 PM
LXer: I update Ubuntu 6.06 LTS and 8.04 LTS ... one has SSH issues, one does not LXer Syndicated Linux News 0 05-20-2008 07:30 AM
Installing Ubuntu 6.06 LTS RC failed and now can't access anything qwerty Ubuntu 3 05-29-2006 03:01 PM

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

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