(Show all SSH articles . . .
Headlines | Linux | Apps | Coding | BSD | Admin | News
Information for Linux System Administration 

SSH tips and tricks


How to use ssh to encrypt X sessions, execute remote command, and perform port forwarding, etc...
If you just want to run a quick command on a remote machine, it can be faster to just run the command and skip getting a shell on the remote machine. There's no need to log in if you just want to make a quick edit to a file, or just run one command, right? SSH allows you do to this pretty easily. The syntax is ssh user@host command . For instance, if you want to restart Apache on a remote machine without logging in, you could run the following:

ssh user@webserver sudo /etc/init.d/apache2 restart
 read more | mail this link | score:7628 | -Ray, December 6, 2005
More Sysadmin articles...

Buy Large Abstract Art Prints

admin headlines

High Performance Linux Router with LMS Web Panel and Radius Server

Tutorial: PHP5-FPM and Apache2 on Ubuntu 12.10

Authenticate OpenVPN with LinOTP

Build a Server with ClearOS 6.3.0

Manual LVM disk partitioning guide for Fedora 17

RedHat Cluster Suite and Conga


Firefox sidebar

Site map

Site info

News feed


(to post)


Articles are owned by their authors.   © 2000-2012 Ray Yeargin