Step 2: Install openssh-server openssh-client in Linux side (server)
Step 3: Demonstrate a example (The default path in Linux is Home)
# I am in windows (client), trying to copy file e:\MyFile.xxx from / to Linux(server)
My Linux configure ---> IP: 111.111.111.111,
Admin_Name/Password: MartinLee/8888,
file at Home/Documents/MyFile.xxx
file at Home/Documents/MyFile.xxx
# Copy file e:\MyFile.xxx to Linux
echo y | pscp -pw 8888 e:\MyFile.xxx MartinLee@111.111.111.111:Documents/MyFile.xxx
# Copy file e:\MyFile.xxx from Linux
echo y | pscp -pw 8888 MartinLee@111.111.111.111:Documents/MyFile.xxx e:\MyFile.xxx# Result
沒有留言:
張貼留言