Showing posts with label SSH. Show all posts
Showing posts with label SSH. Show all posts

Tuesday, October 5, 2010

OpenSSH SFTP with ChrootDirectory step by step

1- Cài đặt các gói hổ trợ
yum install --exclude=*.i386 gcc openssl-devel pam-devel rpm-build
2- Download các gói và import key
wget http://ftp.bit.nl/mirror/openssh/openssh-5.2p1.tar.gz
wget http://mirror.anl.gov/openssh/portable/openssh-5.2p1.tar.gz
wget http://mirror.anl.gov/openssh/portable/openssh-5.2p1.tar.gz.asc
wget -O- http://mirror.anl.gov/openssh/portable/DJM-GPG-KEY.asc | gpg --import
gpg openssh-5.2p1.tar.gz.asc

Sunday, October 25, 2009

SSH Port Forwarding

Introduction
SSH is typically used for logging into remote servers so you have shell access to do maintenance, read your email, restart services, or whatever administration you require. SSH also offers some other native services, such as file copy (using scp and sftp) and remote command execution (using ssh with a command on the command line after the hostname).

Thursday, July 16, 2009

Lý Thuyết và Cấu hình SSH (Secure Shell)

1.Giao thức SSH là gì?

SSH
(tiếng Anh: Secure Shell) là một giao thức mạng dùng để thiết lập kết nối mạng một cách bảo mật. SSH hoạt động ở lớp trên trong mô hình phân lớp TCP/IP. Các công cụ SSH (như là OpenSSH, PuTTy,...) cung cấp cho người dùng cách thức để thiết lập kết nối mạng được mã hoá để tạo một kênh kết nối riêng tư.
Mỗi khi dữ liệu được gửi bởi một máy tính vào mạng, SSH tự động mã hoá nó. Khi dữ liệu được nhận vào, SSH tự động giải mã nó. Kết quả là việc mã hoá được thực hiện trong suốt: người dùng có thể làm việc bình thường, không biết rằng việc truyền thông của họ đã được mã hoá an toàn trên mạng.