728x90 반응형 SMALL script3 [Script] 리눅스 SSH 자동 접속 스크립트 리눅스에서 네트워크 장비 자동 접속 스크립트 vi script.sh#!/usr/bin/expect -f spawn ssh -oStrictHostKeyChecking=no 계정@접속 IPexpect "계정@접속 IP's password:" send "패스워드\r" expect "cisco>" send "enable\r" expect "Password:" send "enable 패스워드\r" interact 권한 설정 : chmod 755 script.sh 실행 : ./script.sh 2024. 5. 9. [Mikrotik] 2WAN(Dual WAN) 구성 설정 방법 미크로틱 Dual WAN 설정 방법입니다. - interface 구성WAN : ether1 / ether2LAN : ether3 / ether4 / ether5 -> Bridge 구성 /interface ethernet set ether1 name=ether1-WAN1 set ether2 name=ether2-WAN2 set ether3 name=ether3-LAN1 set ether4 name=ether4-LAN2 set ether5 name=ether5-LAN3 /interface bridge add name=bridge-LAN /interface bridge port add bridge=bridge-LAN interface=ether3-LAN1 add bridge=bridge-LAN inte.. 2024. 5. 8. [Linux] 서비스 재구동 스크립트 #!/bin/sh while true do cat 2023. 3. 21. 이전 1 다음 728x90 반응형 SMALL