All Flashcards
(6 cards)
There are 3 server
docgsvr011 can ssh password less to docgsvr001 and docgsvr002 respectively. But there are no keys between docgsvr001 and docgsvr002. How to copy files from docgsvr001 to docgsvr002 via docgavr011?
SSH and SCP is used
We first create a session from docgavr011 to docgsvr001 with SSH option -A and -t , and then do a SCP
i.e
ssh -A -t citops@docgsvr001 scp -rp /tmp/files_on_docgsvr001 citops@docgsvr002:/tmp
Original answer
ssh -A -t user1@remote1 scp srcpath user2@remote2:destpath
Tcpdump by default replace the port number with text, what option need to be added to show the port number?
-nn
Tcpdump -vv -nn -i eth1
How to check number of disk in sys?
PVS
How do we check the logical usage on a physical volume?
lvs
How to escape the dot in IP address while doing grep?
Grep -Ew ‘10.1.2.3’ log
How to escape the dot in IP address while doing grep?
Grep -Ew ‘10.1.2.3’ log