alternative for net use in Linux

3.4k Views Asked by At

I am currently working on file transferring system from one server to another one in Linux. I'm still a novice coder and new with Linux. I found that in Window we can actually use net use to connect a server to another server something like:

net use destination_server/user:username password

Is there a way, we can apply the same concept in linux? Would really appreciate the help, Thanks.

1

There are 1 best solutions below

1
Kerem atam On BEST ANSWER

You may use ssh but remote server should have ssh server installed.

example command :

ssh username@destination_server

Other alternatives :

  • sftp : You may transfer files but it won't provide direct shell access to remote server meaning you can not use all commands available in that server.

  • scp : one line command to transfer files and folders.