jiangxianli / Sshautologin
一个使用expect免输入密码自动登录ssh的shell脚本,方便好用,适用Mac、Linux
Stars: ✭ 166
Programming Languages
shell
77523 projects
Labels
Projects that are alternatives of or similar to Sshautologin
Ssh2docker
🐳 standalone SSH server that connects you to your Docker containers
Stars: ✭ 159 (-4.22%)
Mutual labels: ssh
Rtop
rtop is an interactive, remote system monitoring tool based on SSH
Stars: ✭ 1,963 (+1082.53%)
Mutual labels: ssh
Mirror.vim
Efficient way to edit remote files on multiple environments with Vim.
Stars: ✭ 158 (-4.82%)
Mutual labels: ssh
Linux Second Screen
Scripts to repurpose old android device as second monitor on linux
Stars: ✭ 160 (-3.61%)
Mutual labels: ssh
Fastmac
Get a MacOS or Linux shell, for free, in around 2 minutes
Stars: ✭ 1,953 (+1076.51%)
Mutual labels: ssh
Paramiko Expect
A Python expect-like extension for the Paramiko SSH library which also supports tailing logs.
Stars: ✭ 154 (-7.23%)
Mutual labels: ssh
Vscode Remote Release
Visual Studio Code Remote Development: Open any folder in WSL, in a Docker container, or on a remote machine using SSH and take advantage of VS Code's full feature set.
Stars: ✭ 2,256 (+1259.04%)
Mutual labels: ssh
Rsync Incremental Backup
Configurable bash script to send incremental backups of your data to a local or remote target
Stars: ✭ 150 (-9.64%)
Mutual labels: ssh
Ansible Sshd
Ansible role to configure the OpenSSH server daemon
Stars: ✭ 163 (-1.81%)
Mutual labels: ssh
SSHAutoLogin
一个SSH登录服务器的shell脚本,通常我们使用ssh登录服务器都要自己输入密码,而且容易输入错误, 每当遇到这种情况甚是苦恼,下定决心自己写一个不用输入密码自动登录ssh的shell脚本。
安装
- Centos
curl -s https://www.jiangxianli.com/SSHAutoLogin/install.sh | bash -s centos
- Ubuntu
curl -s https://www.jiangxianli.com/SSHAutoLogin/install.sh | bash -s ubuntu
- Mac
curl -s https://www.jiangxianli.com/SSHAutoLogin/install.sh | bash -s mac
使用帮助
-
ssh_login -c
- 修改账号配置 -
ssh_login -l
- 列出所有账号配置 -
ssh_login -h
- 显示帮助文档 -
ssh_login [0-9]+
- 使用列表序号快速登录服务器 -
ssh_login [a-zA-z]+
- 使用配置别名快速登录服务器 -
ssh_login
- 列出服务器列表,等待输入后登录服务器
特殊说明
如果密码中含有以下特殊字符,请按照一下规则转义:
- \ 需转义为 \\\
- } 需转义为 \}
- [ 需转义为 \[
- $ 需转义为 \\\$
- ` 需转义为 \`
- " 需转义为 \\\"
- . 需转义为 \.
如密码为'-OU[]98' 在CONFIG配置中写成'-OU\[]98'
否则,提示要手动输入密码
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].