728x90
mac(macOS)에 stormssh 설치 및 설정하기
stormssh 설치
brew install stormssh
storm 사용법
usage: storm [-h] [-v] COMMAND ...
$ storm -h
usage: storm [-h] [-v] COMMAND ...
options:
-h, --help show this help message and exit
-v, --version show program's version number and exit
commands:
COMMAND
version prints the working storm(ssh) version.
add Adds a new entry to sshconfig.
clone Clone an entry to the sshconfig.
move Move an entry to the sshconfig.
edit Edits the related entry in ssh config.
update Enhanced version of the edit command featuring multiple
edits using regular expressions to match entries
delete Deletes a single host.
list Lists all hosts from ssh config.
search Searches entries by given search text.
delete_all Deletes all hosts from ssh config.
backup Backups the main ssh configuration into target file.
web Starts the web UI.
storm is a command line tool to manage ssh connections.
get more information at: github.com/emre/storm
storm 버전
$ storm --version
0.7.0
stormssh 설정
호스트 추가
storm add web01 ec2-user@10.51.3.81:22 --id_file=~/aws/mykey.pem
$ storm add web01 ec2-user@10.51.3.81:22 --id_file=~/aws/mykey.pem
success web01 added to your ssh config. you can connect it by typing "ssh web01".
호스트 검색
storm search web
$ storm search web
Listing results for web:
web01 -> ec2-user@10.51.3.81:22
storm 명령으로 등록한 웹 서버(web01)에 접근
ssh web01
$ ssh web01
Last login: Wed Oct 6 15:05:20 2021 from ip-10-11-92-92.ap-northeast-2.compute.internal
__| __|_ )
_| ( / Amazon Linux 2 AMI
___|\___|___|
https://aws.amazon.com/amazon-linux-2/
8 package(s) needed for security, out of 22 available
Run "sudo yum update" to apply all updates.
ec2-user@web01:~$
참고사이트
- https://libraries.io/pypi/stormssh
728x90
'기타' 카테고리의 다른 글
mac(macOS)에 Double Commander 설치 및 설정하기 (0) | 2022.04.23 |
---|---|
[Mac] UTM Virtual Machines (0) | 2022.04.19 |
[기타] Mac에서 스크린샷(화면캡쳐) 찍기 (0) | 2022.02.23 |
[기타] iTerm2 zsh 테마(powerlevel10k) 설정하기 (0) | 2022.02.23 |
HPE ProLiant Server End of Service Life(EOSL) and End of Sale(EOS) (0) | 2022.01.06 |