Thursday , 14 December 2017
Home » Tutorial » Copy SSH-ID Antar Server Dengan Beda Port [Catatan]
Copy SSH-ID Antar Server Dengan Beda Port [Catatan]

Copy SSH-ID Antar Server Dengan Beda Port [Catatan]

[code] ssh-copy-id -i ~/.ssh/id_rsa.pub "root@xxx.xxx.xxx.xxx -p 30000"

rsync -avz -e "ssh -p 30000" /home/appserv/epns-prod-3.6sp4/ root@xxx.xxx.xxx.xxx:/home/appserv/epns-lat-3.6sp4/

rsync -avz -e "ssh -p 30000" /home/appserv/spse-prod-4.1.2/ root@xxx.xxx.xxx.xxx:/home/appserv/spse-lat-4.1.2/

sudo -u postgres pg_restore -Fc -iv -d epns_latihan epns_latihan.sql

cat /home/appserv/epns-lat-3.6sp4/webapp/WEB-INF/classes/application.properties
[/code]

Leave a Reply

Your email address will not be published. Required fields are marked *

*