Prev | Current Page 465 | Next

Christopher Negus

"Linux Bible, 2008 Edition: Boot up to Ubuntu, Fedora, KNOPPIX, Debian, openSUSE, and 11 Other Distributions"

If that is the case, and your firewall
allows Secure Shell service (with TCP port 22 open), you should be able to use ssh client
commands to access your system. (Any further configuration you want to do to restrict what the
sshd daemon will allow is typically done in the /etc/ssh/sshd_config file.)
Using the ssh, sftp, and scp Commands
Three commands you can use with the ssh service are ssh, sftp, and scp. Remote users use the
ssh command to log in to your system securely or to remotely execute a command on your system.
The scp command lets remote users copy files to and from a system. The sftp command provides
a safe way to access FTP sites through the ssh service (for sites that offer ssh access to their FTP
content).
Like the normal remote shell services, Secure Shell looks in the /etc/hosts.equiv file and in a
user??™s .rhost file to determine whether it should allow a connection. It also looks in the sshspecific
files /etc/shosts.equiv and .shosts. Using the shosts.equiv and the .shosts
files is preferable because it avoids granting access to the unencrypted remote shell services. The
/etc/shosts.equiv and .shosts files are functionally equivalent to the traditional hosts.equiv
and .rhosts files, so the same instructions and rules apply.
Now you are ready to test the ssh service.


Pages:
453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477