728x90 반응형 Programming161 [우분투] ubuntu ssh install (우분투 ssh 설치) ubuntu ssh install (우분투 ssh 설치) install ssh1$ apt-get install openssh-servercs start ssh1$ service ssh restartcs confirm Installation123$ dpkg --get-selections | grep opensshopenssh-client installopenssh-server installcs 1234$ service ssh status● ssh.service - OpenBSD Secure Shell server Loaded: loaded (/lib/systemd/system/ssh.service; enabled; vendor preset: enabled) Active: active (running) si.. 2018. 12. 10. [우분투] ubuntu version check (우분투 버전 확인) ubuntu version check (우분투 버전 확인) check ubuntu version 12$ cat /etc/issueUbuntu 16.04.4 LTS \n \lcs 123456$ lsb_release -aNo LSB modules are available.Distributor ID: UbuntuDescription: Ubuntu 16.04.4 LTSRelease: 16.04Codename: xenialcs 2018. 12. 10. [우분투 16.04.4]ubuntu telnet server install (우분투 텔넷 서버 설치) ubuntu telnet server install (우분투 텔넷 서버 설치) install telnet server (텔넷 서버 설치) 1$ sudo apt-get install xinetd telnetdcs Configure telnet server (텔넷 서버 설정)add below script on /etc/xinetd.d/telnet 123456789101112131415$ vi /etc/xinetd.d/telnet ----------------------- # default: offservice telnet{ disable = no flags = REUSE socket_type = stream wait = no user = root server = /usr/sbin/in.telnetd log_.. 2018. 12. 10. [AWS] aws ec2 describe-instances --filter 이용하여 태그 설정한 instances조회 aws ec2 describe-instances --filter--filter 옵션을 이용하여 tag를 생성한 instances 조회 위와 같이 태그의 키를 Key로 값을 TEST-AWS로 설정하였을 경우 해당 instances 조회 Name=tag:KeyValues=TEST-AWS 로 입력하면 키를 Key로 값을 TEST-AWS로 가진 instances 조회 가능 1$ aws ec2 describe-instances --filter "Name=tag:Key,Values=TEST-AWS"cs 위와 같이 조회 시 태그의 키가 Key 값이 TEST-AWS로 설정된 모든 instances가 조회된다.이때 instances의 상태(pending | running | shutting-down | terminate.. 2018. 10. 6. 이전 1 ··· 16 17 18 19 20 21 22 ··· 41 다음 728x90 반응형