LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 07-01-2015, 03:29 AM   #1
sandykrishn1988
LQ Newbie
 
Registered: Jun 2015
Posts: 12

Rep: Reputation: Disabled
Not able to login remote server with normal user by ssh


Hi,

I am trying to access the remote machine as normal user, i am not able to access. If i access as root user i can access the remote machine. When i try to access the remote machine as a normal user i am getting this error message

bash: /usr/bin/ssh: Permission denied
 
Old 07-01-2015, 04:38 AM   #2
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 13,499

Rep: Reputation: 4313Reputation: 4313Reputation: 4313Reputation: 4313Reputation: 4313Reputation: 4313Reputation: 4313Reputation: 4313Reputation: 4313Reputation: 4313Reputation: 4313
what will ls -l /usr/bin/ssh respond on that host?
 
Old 07-01-2015, 07:06 AM   #3
sandykrishn1988
LQ Newbie
 
Registered: Jun 2015
Posts: 12

Original Poster
Rep: Reputation: Disabled
-rwxrwxrwx
 
Old 07-01-2015, 07:23 AM   #4
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 13,499

Rep: Reputation: 4313Reputation: 4313Reputation: 4313Reputation: 4313Reputation: 4313Reputation: 4313Reputation: 4313Reputation: 4313Reputation: 4313Reputation: 4313Reputation: 4313
that should be 755, 777 is definitely not ok. I think there can be other problems like this (improper permission settings). In that case ssh refuses to work.
use -v flag to get debug info (on both client and server side)
 
Old 07-01-2015, 03:12 PM   #5
pauld
Member
 
Registered: Nov 2010
Posts: 33

Rep: Reputation: 1
check umask then run algorithm to define new settings
 
  


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
unable to ssh to remote host with normal user, but suresh.k Linux - Security 13 08-06-2013 10:41 AM
[SOLVED] Remote SSH Login Require User Password Change jbarcia Linux - Security 1 02-28-2012 03:00 AM
Execute script on local server as normal user to run commands on remote server ALInux Linux - Software 1 01-01-2010 07:30 AM
Pls help: unable to login as normal user through ssh Baps Linux - Server 23 03-16-2009 07:52 PM
ssh login with normal user, receive: /dev/null: Permission denied mark78301 Red Hat 3 11-12-2005 10:20 AM

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

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