scp :: transfer data remote to remote server
Posted by blackonsole on November 10th, 2014 03:19 PM | No Comment
:: How to transfer data from remote to remote server
+ file
scp -3 host1:/path/to/file host2:/path/to/file
+ directory
scp -r -3 host1:/path/to/folder host2:/path/to/folder
:: Ref
+ Google
+ man scp
Linux :: SSH via SSH Tunnel
Posted by blackonsole on January 30th, 2013 02:03 PM | No Comment
:: How to Login SSH via SSH Tunnel in Linux Ubuntu
+ Create SSH Tunnel run in background
sudo ssh -fN -CL 2222:destination.server.to.login:22 [email protected]
+ Login to destination.server.to.login via ssh tunnel
ssh -p 2222 username@localhost
:: Links
+ Google
+ ManiyFinds
Linux :: su: cannot set user id: Resource temporarily unavailable
Posted by blackonsole on January 11th, 2013 02:27 AM | No Comment
:: How to fix su: cannot set user id: Resource temporarily unavailable issue
+ error
$ su -
su: cannot set user id: Resource temporarily unavailable
$
+ How to fix
vi /etc/security/limit.conf
# add / change on these line:
* ...
:: Linux : socks proxy via ssh
Posted by blackonsole on May 29th, 2012 02:30 AM | 1 Comment
:: How to connection socks proxy via ssh
+ setup proxy connection
ssh -D 8080 [email protected]
8080 = local proxy port
username = your ssh username
192.168.0.1 = your ip address server
+ enable socks proxy connection in firefox
Edit - Preferences - Advanced - Network - ...
:: Speed up SSH Login Prompt
Posted by blackonsole on December 27th, 2011 04:03 AM | No Comment
:: Problem
SSH login prompt is slowly
:: How to fix
:: Installing sshd on Linux Debian
Posted by blackonsole on August 9th, 2011 07:16 AM | No Comment
:: What is ssh
Secure Shell or SSH is a network protocol that allows data to be exchanged using a secure channel between two networked devices. The two major versions of the protocol are referred to as SSH1 or SSH-1 and ...
:: deny login users and groups on openssh
Posted by blackonsole on June 18th, 2011 04:16 AM | No Comment
:: how to deny user and groups login on ssh
# vi /etc/ssh/sshd_config
### add this line to deny users and groups
DenyUsers username username
DenyGroups groupname groupname
:: restarting sshd
# /etc/init.d/sshd restart
:: links
+ google
+ cyberciti