Home tmade.de

Home Wiki


Secure copy of files via ssh:

scp suse10.site:/etc/HOSTNAME ~                                    #Logged in user copies  the file /etc/HOSTNAME to the home folder (~)
scp id_rsa.pub username@                                #Copy "id_rsa.pub" nach "/home/tmade@"
scp install_NW70.tar root@                        #Copy install_NW70.tar as root to into folder /sapdb
scp * root@                                    #Copy * (all in working directory) as root to into folder /mnt/temp
scp root@ da20.key             #Copy file "/etc/ssh/ssh_host_key.pub" from remote machine to local file "da20.key"
scp -r /folder/* testuser@                              #Copy folder recursive to home of user "testuser" on
linux/scp.txt · Last modified: 2017/12/09 01:19 (external edit)
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 4.0 International
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki