Copy unison in program files, ssh in windows directory.
edit C:\documents and settings\user\.unison\default.prf:
sshcmd=ssh.exe
sshargs=-P 16
Download:
Unison-2.32.52
ssh
useful for ssh key changes
sed -i 215d ~/.ssh/known_hosts
Replacing the folder ~/.gnome2/keyrings with the one I used in Ubuntu 10.04 following with log-off and log-in worked for me.
ssh-keygen -f .ssh/id_dsa -p
ssh -L 8888:www.linuxhorizon.ro:80 user@computer -N
+----------+<--port 22-->+----------+<--port 80-->o-----------+ |SSH Client|-------------|ssh_server|-------------| host | +----------+ +----------+ o-----------+ localhost:8888 computer www.linuxhorizon.ro:80
other example:
ssh -R 28:10.10.10.8:25 -R 29:10.10.10.1:25 root@server.ro -N
To enable GatewayPorts:
/etc/sshd_config:
GatewayPorts yes
lshell lets you restrict a user’s shell environment to limited sets of commands, choose to enable or disable any command over SSH (e.g. SCP, SFTP, rsync, etc.), log user’s commands, implement timing restrictions, and more.
aptitude install ksshaskpass
cat >~/.kde/Autostart/ssh-add.sh <<_EOT_
#!/bin/sh
export SSH_ASKPASS=/usr/bin/ksshaskpass
ssh-add </dev/null
_EOT_
chmod +x ~/.kde/Autostart/ssh-add.sh
~/.kde/Autostart/ssh-add.sh
# vi /opt/ssh/etc/sshd_config
and make sure "X11Forwarding yes" is uncommented. If you made a change to this file, restart the daemon:
# /sbin/init.d/secsh stop
# /sbin/init.d/secsh start
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1092967
# This is ssh server systemwide configuration file.
Port 22
ListenAddress 192.168.1.1
HostKey /etc/ssh/ssh_host_key
ServerKeyBits 1024
LoginGraceTime 600
KeyRegenerationInterval 3600
PermitRootLogin no
IgnoreRhosts yes
IgnoreUserKnownHosts yes
StrictModes yes
X11Forwarding no
PrintMotd yes
SyslogFacility AUTH
LogLevel INFO
RhostsAuthentication no
RhostsRSAAuthentication no
RSAAuthentication yes
PasswordAuthentication yes
PermitEmptyPasswords no
AllowUsers admin
AllowUsers admin
The option AllowUsers specifies and controls which users can access ssh services. Multiple users can be specified, separated by spaces.