Chuyển đến nội dung chính

Some Secure Shell Clients

An SSH client is a program that enables secure remote access to a server or computer using the SSH (Secure Shell) protocol. It allows users to connect to a remote host securely, encrypting the data sent between the client and the server, and providing authentication mechanisms to ensure that only authorized users can access the system. SSH clients are commonly used in the administration of remote servers, as well as in secure file transfers, tunneling, and other network-related tasks. Some popular SSH clients include OpenSSH, PuTTY, and SecureCRT.

SSH (Secure Shell) is a network protocol that provides a secure and encrypted channel over an unsecured network, such as the internet. The protocol uses a client-server model, where the SSH client initiates a connection to the SSH server, and then the two communicate securely.

An SSH client is software that runs on a local computer and allows users to connect to a remote server or computer using the SSH protocol. The client provides an interface for users to authenticate themselves to the remote system and issue commands or transfer files securely.

SSH clients typically support various authentication methods, such as passwords, public key cryptography, and two-factor authentication. Once the user is authenticated, they can use the SSH client to issue commands on the remote system, transfer files, and even create encrypted tunnels for other network traffic.

Some popular SSH clients include OpenSSH (which is included in most Unix-like operating systems), PuTTY (which is popular on Windows), and SecureCRT (which is a commercial SSH client that is widely used in enterprise environments).

Overall, SSH clients are an essential tool for system administrators and developers who need secure and reliable access to remote systems.

And...


In putty.org website, I found "Bitvise SSH Client":



One of the unique features of Bitvise SSH Client is its support for both SSH and SFTP (Secure File Transfer Protocol), which allows users to securely transfer files between local and remote systems. The client also supports various authentication methods, including public key authentication, two-factor authentication, and Windows user authentication.

Another notable feature of Bitvise SSH Client is its support for SSH tunnels, which enable users to forward other network traffic through the encrypted SSH connection. This feature can be useful for accessing remote services that are not directly accessible from the local network.

When login successed, we have 2 others:

- Terminal console window

- SFTP windows



https://www.bitvise.com/ssh-client-download


How to Access ESXi DCUI via SSH

https://www.youtube.com/watch?v=LF4a7Vi5Tzc


How to enable SSH access to CentOS 6.x

Check status of SSH

service sshd status

Location of configuration file:

/etc/ssh/

view by:

vim /etc/ssh/sshd_config


Go to line:

Port 22


Restart SSH service

service sshd restart


Nhận xét

Bài đăng phổ biến từ blog này

Xóa nhanh tất cả dữ liệu trong một bảng Microsoft SQL Server bằng TRUNCATE

 Thường chúng ta sẽ  sử dụng câu lệnh DELETE để xóa dữ liệu, và xóa hết dữ liệu trong một bảng bằng câu lệnh có cú pháp "delete from table <tên của bảng>". Cách xóa này thường rất mất thời gian, nếu dữ liệu trong bảng nhiều. Vậy có cách nào xóa nhanh hơn không? Chúng ta có thể sử dụng câu lệnh TRUNCATE để xóa tất cả dữ liệu trong bảng với thời gian nhanh hơn nhiều so với sử dụng câu lệnh xóa thông thường. Nhưng có một số vấn đề cần phải lưu ý khi thực hiện truncate dữ liệu của một bảng, đó là: - Truncate sẽ xóa hết tất cả (lưu ý là "tất cả" nhé) - Không truncate được khi bảng có khóa ngoại (trừ trường hợp khóa ngoại trong chính bảng cần xóa) - Khi đã truncate rồi khi không có cửa để phục hồi lại như sử dụng lệnh delete đâu nha. Cú pháp: TRUNCATE TABLE <TÊN BẢNG> Một số sql script hữu ích sử dụng kèm: 1. Giảm dung lượng theo phần trăm Cách này sẽ giảm kích thước của database (gồm cả file data và file log) xuống duy trì 10% free cho database: DBCC SHRINKDA

Chứng chỉ SSL - các dạng khác nhau - different ssl certificate format

 Tùy theo cấu hình server, chứng chỉ ssl có thể phải chuyển đổi sang các dạng khác nhau cho tương thích: - Windows server sử dụng file .pfx (X509) - Apache server sử dụng file .crt, .cer (PKCS7) Thông tin chứng chỉ SSL có thể thường được cung cấp dưới dạng sau (Dạng PEM): Phần này là private key: -----BEGIN PRIVATE KEY----- MIIEvwIBADANBgkqhkiG9w0BAQEFAASCBKkwggSlAgEAAoIBAQDZgq+0hUok18fb PRPNlJM4+/ANA9c329wUGGUyJwWvHNiqNgluuqp1VjtFQfoaraXaPK1g16M8HRlH NPckoFKZaTfCh9u+Xm3wiarj4i ...  CUCgYAn55Na3tvRisIUEVc2 K36njpoNhQ9kxjoPzFUIjccsAO9/Mt8eXL1xBdX38ox/0g+fTkLqotT6+ERWhRti fz/xoHov8rii6yDaSMMumw/DuQ8s/v6eZqN/jlqoRToEziFR5UAb4HmSQ94uki8+ 3P0hk68HHT45bb9NnnDcIZki/A== -----END PRIVATE KEY----- Phần này là certificate: -----BEGIN CERTIFICATE----- MIIGpDCCBYygAwIBAgIQCrWg6/cP1Y1qYOPaOxJk0DANBgkqhkiG9w0BAQsFADBZ MQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMTMwMQYDVQQDEypS PB0ZRzT3JKBSmWk3w ...  dxxkfW97d5XtEixwNTce/3aCHJ1ivc f0u163DjYO3CmebXHAyd5FpszqaFrX29vQFF/1mrw7/pd77JffmP6o8BIo2xrq0f h

SQL Script dành cho người lười - Some simple SQL scripts

Người lười biếng thường hay chả muốn làm nhiều, sau đây là một số script sql dành cho copy/paste: (thay phần bôi đậm bằng nội dung thực tế) > Ghi chú trong SQL script  1. Ghi chú 1 dòng, sử dụng --  VD: select * from users -- tất cả các dòng trong bảng users 2. Ghi chú khối, sử dụng /* */ VD: /* Ghi chú hàng 1 Ghi chú hàng 2 */ > Wildcard character %: thay thế cho nhiều ký tự hoặc không ký tự nào. _ : thay thế cho 1 ký tự VD:  SELECT * FROM USERS WHERE USERNAME LIKE 'M%' --M% có thể là: Minh, Mạnh, M, Mai... SELECT * FROM USERS WHERE USERNAME LIKE 'N_M' -- N_M có thể là: NAM, NẤM, NEM... > Tạo database, tạo user, cấp quyền owner a. Tạo database USE [MASTER] CREATE DATABASE [ TENDB] CREATE LOGIN TENUSER WITH PASSWORD=N' MATKHAU ', DEFAULT_DATABASE=[ TENDB ] //mật khẩu sẽ phải tuân theo password rule của windows, trường hợp không muốn theo rule của windows + password không hết hạn sử dụng sau 1 thời gian thì có thể thêm một số tùy chọn vào CREATE LOGIN  T