728x90 AdSpace

Wednesday, 13 September 2017

rsh Linux Command

rsh

rsh [options] host [command]
Execute command on remote host, or, if no command is specified, begin an interactive shell on the remote host using rlogin. The options can be specified before or after host. Use of rsh has generally been replaced with ssh, which offers better security.

Options

-d
Enable socket debugging.

-f
Forward nonforwardable Kerberos credentials to the remote machine and remove them after the command completes. -f and -F are mutually exclusive.

-F
Forward forwardable Kerberos credentials to the remote machine and remove them after the command completes. -f and -F are mutually exclusive.

-k realm
Use the specified realm to obtain tickets for the remote host. By default, the rsh command gets the information from the function krb_realmofhost(3).

-l username
Attempt to log in as username. By default, the name of the user executing rsh is used.

-n
Redirect the input to rsh from the special device /dev/null. (This should be done when backgrounding rsh from a shell prompt, to direct the input away from the terminal.)

-PN, -PO
Request the new or old Kerberos rcmd protocol, respectively.

-x
Encrypt the network session traffic (except the command line).
Annamalai Thangaraj

Annamalai is working as Technical Lead in Leading Telecom company with 5+ years experience in Identity and Access Management , Telecom and Networks, BigData, Java, Spring, Struts, Hibernate, AngularJS, and Enterprise Web Application Development.

Website: Java Tutorials Corner

Shop and help us

Flipkart Offer Snapdeal offer Amazon.in offer Amazon.com offer
  • Blogger Comments
  • Facebook Comments
  • Disqus Comments

0 comments:

Post a Comment

Item Reviewed: rsh Linux Command Rating: 5 Reviewed By: Annamalai Thangaraj