Linux Ask!

Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.

Running a command on the remote server

Answer:

To run a command on the remote server over ssh, use the following command:

# ssh username@server COMMAND

  1. Copy file to remote server using scp
  2. Test if local SMTP server is running
  3. Use an alternative port when connecting to remote server using SSH
  4. Edit a remote file with vim over SSH
  5. How to mirror a directory to a remote server over SSH?

Leave a Reply

(required)

(required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>