0

I was reading about OpenSSH and I have the following questions:

  1. What is the difference between ssh and slogin?

  2. What is the difference between scp and sftp?

  3. Does sshd (on server side) provide separate server processes to handle each client (ssh, slogin, sftp, scp) type requests or just one process for all client types?

  4. is the secure shell a standalone shell like bash etc., or just a process that encrypt/decrypts traffic and communicate to ordinary bash process locally?

0

Since the questions are listed, I'll list the respective answers:

  1. slogin is an alias for ssh (they are the same) further reading
  2. scp and sftp do similar things in that they transfer files, but scp is a separate program that uses ssh to copy files. sftp is an extension of ssh itself that transfers files similar to FTP, but over ssh further reading
  3. Yes, the sshd spins up a separate process for each connection. This can be verified by connecting multiple times to an ssh server and then doing ps aux | grep ssh on the server
  4. ssh is a protocol, not a shell. It gives access to the shell on the other side and encrypts the traffic between

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.