Manually adding a line to the syslog
echo “Test!” | logger
check the manual for “logger” for more information and switches: (man logger)
echo “Test!” | logger
check the manual for “logger” for more information and switches: (man logger)
If you want to send a message to another user on the same server. you can use the following:
echo “Hello” | wall
This message will be seen by everyone on the server
How to copy a local folder and its contents to a remote location over ssh on a non-standard port (222)
scp -r -P222 mylocalfolder/ jsmith@remotedesitination:/home/jsmith/remote folder
Instructions for running Subversion (svn) over SSH on a non-standard port
Server Side Config
Just start “svnserve” using the following command. Change the values to reflect your environment
#svnserve –listen-port 225 -d -r /srv/svn
Client Side Config
This is pretty easy too, just edit: ~/.subversion/config and add the following line below the header [Tunnels]
myRemoteSVNServer = /usr/bin/ssh -p 222 -l jsmith
- 222 is the SSH port on the server, not the one you setup for svn to run on (225)
- jsmith is a user authorized to use ssh
- /usr/bin/ssh is the full path to “ssh”
Accessing SVN
The command is the same except for the additional “svn+[YOURTUNNELNAME]”
IE: svn co svn+myRemoteSVNServer://192.168.0.40/srv/svn/