Accessing Secure Shell layer

danielmanohar
danielmanohar used Ask the Experts™
on
Hi,

  Is there any command to access the server which is having the secure shell layer with the username and password.

Thanx in advance,
Daniel.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
ssh user@server
No comment has been added lately, so it's time to clean up this Topic Area.
I will leave a recommendation for this question in the Cleanup topic area as follows:

- Delete, no points refunded

Please leave any comments here within the next 7 days

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER !

tfewster
Cleanup Volunteer
something wrong with my suggestion?
Build an E-Commerce Site with Angular 5

Learn how to build an E-Commerce site with Angular 5, a JavaScript framework used by developers to build web, desktop, and mobile applications.

ahoffmann, the way I read the question, danielmanohar needed to know how to connect without supplying a password. As you didn't post anything about key authentication, I assumed 1) his question was not answered and 2) there was no information worth saving.

However, the question can be read both ways. Please post a recommendation on how to close it.

Regards,
Tim
if my suggestion

    ssh user@server

works without password, depends on
  a) user's ~/.ssh/config
  b) server's /etc/ssh/sshd_config
both ways you can define that a login does not require interactive password.

Even if I had suggested

    ssh user@server -i /path/to/user/keyfile

it might work or not, depending on b) above

So my suggestion is true or not, depending on the server and/or user settings.
It's hard to post a "full-proove solution" when knowing near nothing about the involved systems :-o

I'd suggest a PAQ (not 0 points), I don't insist on grading my sugestion, 'cause it's obvious for most ssh-used people anyway.
PAQ'd and points NOT refunded.  Cannot perform a non-0 point PAQ per se as moderators cannot have points.  

SpideyMod
Community Support Moderator @Experts Exchange

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial