Archive for category: ssh
26 July, 2010 (06:30) | Linux, Mac OS X, ssh | By: Wolfgang
One way to trigger actions at an OpenSSH server login, is to use the sshrc file in your sshd configuration folder, usually /etc/ssh.
Use the following command in the sshrc file to send a mail:
mailx -s "$HOSTNAME Remote Login from $USER at `date`" mail@example.com
Of course every other command or notification method can be used too, ...
Tags: mailx, prowl, prowl.pl, ssh, sshd, sshrc |
23 June, 2010 (06:30) | Miscellaneous, ssh, [English Posts] | By: Wolfgang
Problem
You work for a client that provides you with a connection to transfer files over SSH (SFTP). He wants to adjust the corporate firewall settings so that requests from your IP address don't get rejected. The problem is that you work from different places with different IP addresses. It would be time-consuming to add ...
Tags: Linux, Mac OS X, SFTP, SOCKS, ssh |
8 June, 2010 (06:30) | Linux, ssh, Ubuntu, [English Posts] | By: Wolfgang
Ubuntu's default VNC server vino seems to have serious problems if you connect to it with visual effects enabled on the machine. At least with my configuration it only updates the remote host user interface once. Then the remote machine still reacts to clicks but I can't see the effect of the click.
One pragmatic ...
Tags: Linux, ssh, Ubuntu, vino, VNC |
12 May, 2010 (22:16) | Linux, ssh, Ubuntu, [English Posts] | By: Wolfgang
In a previous post I described how to enable Screen Sharing on a Mac via ssh, today I will sum up the necessary steps to accomplish the same on a Linux running the vino VNC server, Ubuntu 10.04 LTS in my case. Starting the VNC server If you have to adjust the configuration options ...
Tags: Linux, Remote Desktop, Resetting Password, Ubuntu, VNC |
9 May, 2010 (22:30) | Mac OS X, ssh, [English Posts] | By: Wolfgang
Problem: You are working on a OS X machine via ssh and run into a situation where a VNC display of the remote host would be helpful. The only problem is that it has Screen Sharing disabled.
Solution: Just use the following command on the terminal:
sudo sh -c "/bin/echo -n enabled > /Library/Preferences/com.apple.ScreenSharing.launchd"
(I found this ...
Tags: Mac OS X, Screen Sharing, ssh, VNC |