Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Unable to ssh as regular user
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 6639
Location: The soundosphere

PostPosted: Sat Apr 02, 2011 4:00 pm    Post subject: Unable to ssh as regular user Reply with quote

I'm unable to ssh to a server as a regular user, but I am able to as root. Has anyone else experienced this problem?
_________________
decibel Linux: https://decibellinux.org
Github: https://github.com/Gentoo-Music-and-Audio-Technology
Facebook: https://www.facebook.com/decibellinux
Discord: https://discord.gg/73XV24dNPN
Back to top
View user's profile Send private message
Progman3K
l33t
l33t


Joined: 03 Jan 2004
Posts: 773

PostPosted: Sat Apr 02, 2011 4:49 pm    Post subject: Reply with quote

What exactly happens?

If you open a terminal and type

ssh user@machine

What is the output?
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21631

PostPosted: Sat Apr 02, 2011 5:52 pm    Post subject: Reply with quote

OP: do you mean that running /usr/bin/ssh as a normal user fails, without regard to the login name on the server, or do you mean that /usr/bin/ssh user@server fails, without regard to the UID of the ssh process on the client?
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 6639
Location: The soundosphere

PostPosted: Sat Apr 02, 2011 7:04 pm    Post subject: Reply with quote

Aha. Using ssh user@host works. I was just using ssh host. I'm guessing it's a security issue that it works this way.
_________________
decibel Linux: https://decibellinux.org
Github: https://github.com/Gentoo-Music-and-Audio-Technology
Facebook: https://www.facebook.com/decibellinux
Discord: https://discord.gg/73XV24dNPN
Back to top
View user's profile Send private message
Atle
Apprentice
Apprentice


Joined: 16 Sep 2004
Posts: 179

PostPosted: Sat Apr 02, 2011 7:57 pm    Post subject: Reply with quote

Normally, if you don't specify user@, ssh will use your current user name, which means you should have a user with the same user name on the remote machine.

I've never heard about requiring user@ as a security measure.
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 6639
Location: The soundosphere

PostPosted: Sat Apr 02, 2011 8:17 pm    Post subject: Reply with quote

Atle wrote:
Normally, if you don't specify user@, ssh will use your current user name, which means you should have a user with the same user name on the remote machine.

I've never heard about requiring user@ as a security measure.


I got it now. Thanks for clarifying. :)
_________________
decibel Linux: https://decibellinux.org
Github: https://github.com/Gentoo-Music-and-Audio-Technology
Facebook: https://www.facebook.com/decibellinux
Discord: https://discord.gg/73XV24dNPN
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum