-1

I want to write a script which could login to the remote server and give the control back to the user on the terminal so that user could execute the commands after that. It is basically to avoid a lengthy procedure to login to the server. Please suggest me how I can do this.

Thanks in advance

Learner
  • 1,544
  • 8
  • 29
  • 55

1 Answers1

1

If the remote server is running on linux, then use ssh keys for doing this job, then you'll be able to login with just one command:

ssh <servername>
A human being
  • 1,220
  • 8
  • 18