213 |
|
|
214 |
@subsubheading Behind the scenes |
@subsubheading Behind the scenes |
215 |
@cindex behind the scenes |
@cindex behind the scenes |
216 |
|
@cindex details of operation |
217 |
|
@cindex how it works |
218 |
|
|
219 |
This section tries to explain what goes on behind the scenes when you |
This section tries to explain what goes on behind the scenes when you |
220 |
access a remote file through @tramp{}. |
access a remote file through @tramp{}. |
608 |
@item @option{rm} --- @command{rsh} with @command{mimencode} |
@item @option{rm} --- @command{rsh} with @command{mimencode} |
609 |
@cindex method rm |
@cindex method rm |
610 |
@cindex rm method |
@cindex rm method |
611 |
@cindex method using rsh |
@cindex method using rsh (rm) |
612 |
|
|
613 |
Connect to the remote host with @command{rsh} and use base64 encoding to |
Connect to the remote host with @command{rsh} and use base64 encoding to |
614 |
transfer files between the machines. |
transfer files between the machines. |
621 |
@item @option{sm} --- @command{ssh} with @command{mimencode} |
@item @option{sm} --- @command{ssh} with @command{mimencode} |
622 |
@cindex method sm |
@cindex method sm |
623 |
@cindex sm method |
@cindex sm method |
624 |
@cindex method using ssh |
@cindex method using ssh (sm) |
625 |
@cindex ssh |
@cindex ssh (with sm method) |
626 |
@cindex mimencode |
@cindex mimencode (with sm method) |
627 |
@cindex base-64 encoding |
@cindex base-64 encoding (with sm method) |
628 |
|
|
629 |
Connect to the remote host with @command{ssh} and use base64 encoding to |
Connect to the remote host with @command{ssh} and use base64 encoding to |
630 |
transfer files between the machines. |
transfer files between the machines. |
646 |
@item @option{tm} --- @command{telnet} with @command{mimencode} |
@item @option{tm} --- @command{telnet} with @command{mimencode} |
647 |
@cindex method tm |
@cindex method tm |
648 |
@cindex tm method |
@cindex tm method |
649 |
@cindex method using telnet |
@cindex method using telnet (tm) |
650 |
@cindex telnet |
@cindex telnet (with tm method) |
651 |
@cindex mimencode |
@cindex mimencode (with tm method) |
652 |
@cindex base-64 encoding |
@cindex base-64 encoding (with tm method) |
653 |
|
|
654 |
Connect to the remote host with @command{telnet} and use base64 encoding |
Connect to the remote host with @command{telnet} and use base64 encoding |
655 |
to transfer files between the machines. |
to transfer files between the machines. |
662 |
@cindex method ru |
@cindex method ru |
663 |
@cindex ru method |
@cindex ru method |
664 |
@cindex method using rsh |
@cindex method using rsh |
665 |
@cindex rsh |
@cindex rsh (with ru method) |
666 |
@cindex uuencode |
@cindex uuencode (with ru method) |
667 |
|
|
668 |
Connect to the remote host with @command{rsh} and use the |
Connect to the remote host with @command{rsh} and use the |
669 |
@command{uuencode} and @command{uudecode} commands to transfer files |
@command{uuencode} and @command{uudecode} commands to transfer files |
673 |
@item @option{su} --- @command{ssh} with @command{uuencode} |
@item @option{su} --- @command{ssh} with @command{uuencode} |
674 |
@cindex method su |
@cindex method su |
675 |
@cindex su method |
@cindex su method |
676 |
@cindex method using ssh |
@cindex method using ssh (su) |
677 |
@cindex ssh |
@cindex ssh (with su method) |
678 |
@cindex uuencode |
@cindex uuencode (with su method) |
679 |
|
|
680 |
Connect to the remote host with @command{ssh} and use the |
Connect to the remote host with @command{ssh} and use the |
681 |
@command{uuencode} and @command{uudecode} commands to transfer files |
@command{uuencode} and @command{uudecode} commands to transfer files |
694 |
@item @option{tu} --- @command{telnet} with @command{uuencode} |
@item @option{tu} --- @command{telnet} with @command{uuencode} |
695 |
@cindex tu method |
@cindex tu method |
696 |
@cindex method tu |
@cindex method tu |
697 |
@cindex method using telnet |
@cindex method using telnet (tu) |
698 |
@cindex telnet |
@cindex telnet (with tu method) |
699 |
@cindex uuencode |
@cindex uuencode (with tu method) |
700 |
|
|
701 |
Connect to the remote host with @command{telnet} and use the |
Connect to the remote host with @command{telnet} and use the |
702 |
@command{uuencode} and @command{uudecode} commands to transfer files |
@command{uuencode} and @command{uudecode} commands to transfer files |
706 |
@item @option{sum} --- @command{su} with @command{mimencode} |
@item @option{sum} --- @command{su} with @command{mimencode} |
707 |
@cindex method sum |
@cindex method sum |
708 |
@cindex sum method |
@cindex sum method |
709 |
@cindex method using su |
@cindex method using su (sum) |
710 |
@cindex su |
@cindex su (with sum method) |
711 |
@cindex mimencode |
@cindex mimencode (with sum method) |
712 |
@cindex base-64 encoding |
@cindex base-64 encoding (with sum method) |
713 |
|
|
714 |
This method does not connect to a remote host at all, rather it uses the |
This method does not connect to a remote host at all, rather it uses the |
715 |
@command{su} program to allow you to edit files as another user. Uses |
@command{su} program to allow you to edit files as another user. Uses |
719 |
@item @option{suu} --- @command{su} with @command{uuencode} |
@item @option{suu} --- @command{su} with @command{uuencode} |
720 |
@cindex method suu |
@cindex method suu |
721 |
@cindex suu method |
@cindex suu method |
722 |
@cindex method using su |
@cindex method using su (suu) |
723 |
@cindex su |
@cindex su (with suu method) |
724 |
@cindex uuencode |
@cindex uuencode (with suu method) |
725 |
|
|
726 |
Like @option{sum}, this uses the @command{su} program to allow you to |
Like @option{sum}, this uses the @command{su} program to allow you to |
727 |
edit files on the local host as another user. Uses @command{uuencode} |
edit files on the local host as another user. Uses @command{uuencode} |
731 |
@item @option{sudm} --- @command{sudo} with @command{mimencode} |
@item @option{sudm} --- @command{sudo} with @command{mimencode} |
732 |
@cindex method sudm |
@cindex method sudm |
733 |
@cindex sudm method |
@cindex sudm method |
734 |
@cindex method using sudo |
@cindex method using sudo (sudm) |
735 |
@cindex sudo |
@cindex sudo (with sudm method) |
736 |
@cindex mimencode |
@cindex mimencode (with sudm method) |
737 |
@cindex base-64 encoding |
@cindex base-64 encoding (with sudm method) |
738 |
|
|
739 |
This is similar to the @option{sum} method, but it uses @command{sudo} |
This is similar to the @option{sum} method, but it uses @command{sudo} |
740 |
rather than @command{su} to become a different user. |
rather than @command{su} to become a different user. |
748 |
@item @option{sudu} --- @command{sudo} with @command{uuencode} |
@item @option{sudu} --- @command{sudo} with @command{uuencode} |
749 |
@cindex method sudu |
@cindex method sudu |
750 |
@cindex sudu method |
@cindex sudu method |
751 |
@cindex method using sudo |
@cindex method using sudo (sudu) |
752 |
@cindex sudo |
@cindex sudo (with sudu method) |
753 |
@cindex uuencode |
@cindex uuencode (with sudu method) |
754 |
|
|
755 |
This is similar to the @option{suu} method, but it uses @command{sudo} |
This is similar to the @option{suu} method, but it uses @command{sudo} |
756 |
rather than @command{su} to become a different user. |
rather than @command{su} to become a different user. |
759 |
@item @option{smx} --- @command{ssh} with @command{mimencode} |
@item @option{smx} --- @command{ssh} with @command{mimencode} |
760 |
@cindex method smx |
@cindex method smx |
761 |
@cindex smx method |
@cindex smx method |
762 |
@cindex method using ssh |
@cindex method using ssh (smx) |
763 |
@cindex ssh |
@cindex ssh (with smx method) |
764 |
@cindex mimencode |
@cindex mimencode (with smx method) |
765 |
@cindex base-64 encoding |
@cindex base-64 encoding (with smx method) |
766 |
@cindex Cygwin |
@cindex Cygwin (with smx method) |
767 |
|
|
768 |
As you expect, this is similar to @option{sm}, only a little |
As you expect, this is similar to @option{sm}, only a little |
769 |
different. Whereas @option{sm} opens a normal interactive shell on |
different. Whereas @option{sm} opens a normal interactive shell on |
794 |
@item @option{km} --- @command{krlogin} with @command{mimencode} |
@item @option{km} --- @command{krlogin} with @command{mimencode} |
795 |
@cindex method km |
@cindex method km |
796 |
@cindex km method |
@cindex km method |
797 |
@cindex krlogin |
@cindex krlogin (with km method) |
798 |
@cindex Kerberos |
@cindex Kerberos (with km method) |
799 |
@cindex mimencode |
@cindex mimencode (with km method) |
800 |
@cindex base-64 encoding |
@cindex base-64 encoding (with km method) |
801 |
|
|
802 |
This method is also similar to @option{sm}. It only uses the |
This method is also similar to @option{sm}. It only uses the |
803 |
@command{krlogin -x} command to log in to the remote host. |
@command{krlogin -x} command to log in to the remote host. |
806 |
@item @option{plinku} --- @command{plink} with @command{uuencode} |
@item @option{plinku} --- @command{plink} with @command{uuencode} |
807 |
@cindex method plinku |
@cindex method plinku |
808 |
@cindex plinku method |
@cindex plinku method |
809 |
@cindex method using plink |
@cindex method using plink (plinku) |
810 |
@cindex plink |
@cindex plink (with plinku method) |
811 |
@cindex uuencode |
@cindex uuencode (with plinku method) |
812 |
|
|
813 |
This method is mostly interesting for Windows users using the PuTTY |
This method is mostly interesting for Windows users using the PuTTY |
814 |
implementation of SSH. It uses @samp{plink -ssh} to log in to the |
implementation of SSH. It uses @samp{plink -ssh} to log in to the |
823 |
@item @option{plinkm} --- @command{plink} with @command{mimencode} |
@item @option{plinkm} --- @command{plink} with @command{mimencode} |
824 |
@cindex method plinkm |
@cindex method plinkm |
825 |
@cindex plinkm method |
@cindex plinkm method |
826 |
@cindex method using plink |
@cindex method using plink (plinkm) |
827 |
@cindex plink |
@cindex plink (with plinkm method) |
828 |
@cindex mimencode |
@cindex mimencode (with plinkm method) |
829 |
@cindex base-64 encoding |
@cindex base-64 encoding (with plinkm method) |
830 |
|
|
831 |
Like @option{plinku}, but uses base64 encoding instead of uu encoding. |
Like @option{plinku}, but uses base64 encoding instead of uu encoding. |
832 |
|
|
869 |
@item @option{rcp} --- @command{rsh} and @command{rcp} |
@item @option{rcp} --- @command{rsh} and @command{rcp} |
870 |
@cindex method rcp |
@cindex method rcp |
871 |
@cindex rcp method |
@cindex rcp method |
872 |
@cindex rcp |
@cindex rcp (with rcp method) |
873 |
@cindex rsh |
@cindex rsh (with rcp method) |
874 |
|
|
875 |
This method uses the @command{rsh} and @command{rcp} commands to connect |
This method uses the @command{rsh} and @command{rcp} commands to connect |
876 |
to the remote machine and transfer files. This is probably the fastest |
to the remote machine and transfer files. This is probably the fastest |
880 |
@item @option{scp} --- @command{ssh} and @command{scp} |
@item @option{scp} --- @command{ssh} and @command{scp} |
881 |
@cindex method scp |
@cindex method scp |
882 |
@cindex scp method |
@cindex scp method |
883 |
@cindex scp |
@cindex scp (with scp method) |
884 |
@cindex ssh |
@cindex ssh (with scp method) |
885 |
|
|
886 |
Using @command{ssh} to connect to the remote host and @command{scp} to |
Using @command{ssh} to connect to the remote host and @command{scp} to |
887 |
transfer files between the machines is the best method for securely |
transfer files between the machines is the best method for securely |
902 |
@item @option{rsync} --- @command{ssh} and @command{rsync} |
@item @option{rsync} --- @command{ssh} and @command{rsync} |
903 |
@cindex method rsync |
@cindex method rsync |
904 |
@cindex rsync method |
@cindex rsync method |
905 |
@cindex rsync |
@cindex rsync (with rsync method) |
906 |
@cindex ssh |
@cindex ssh (with rsync method) |
907 |
|
|
908 |
Using the @command{ssh} command to connect securely to the remote |
Using the @command{ssh} command to connect securely to the remote |
909 |
machine and the @command{rsync} command to transfer files is almost |
machine and the @command{rsync} command to transfer files is almost |
923 |
@item @option{scpx} --- @command{ssh} and @command{scp} |
@item @option{scpx} --- @command{ssh} and @command{scp} |
924 |
@cindex method scpx |
@cindex method scpx |
925 |
@cindex scpx method |
@cindex scpx method |
926 |
@cindex scp |
@cindex scp (with scpx method) |
927 |
@cindex ssh |
@cindex ssh (with scpx method) |
928 |
@cindex Cygwin |
@cindex Cygwin (with scpx method) |
929 |
|
|
930 |
As you expect, this is similar to @option{scp}, only a little |
As you expect, this is similar to @option{scp}, only a little |
931 |
different. Whereas @option{scp} opens a normal interactive shell on |
different. Whereas @option{scp} opens a normal interactive shell on |
948 |
@item @option{pscp} --- @command{plink} and @command{pscp} |
@item @option{pscp} --- @command{plink} and @command{pscp} |
949 |
@cindex method pscp |
@cindex method pscp |
950 |
@cindex pscp method |
@cindex pscp method |
951 |
@cindex pscp |
@cindex pscp (with pscp method) |
952 |
@cindex plink |
@cindex plink (with pscp method) |
953 |
@cindex PuTTY |
@cindex PuTTY (with pscp method) |
954 |
|
|
955 |
This method is similar to @option{scp}, but it uses the |
This method is similar to @option{scp}, but it uses the |
956 |
@command{plink} command to connect to the remote host, and it uses |
@command{plink} command to connect to the remote host, and it uses |
963 |
@item @option{fcp} --- @command{fsh} and @command{fcp} |
@item @option{fcp} --- @command{fsh} and @command{fcp} |
964 |
@cindex method fcp |
@cindex method fcp |
965 |
@cindex fcp method |
@cindex fcp method |
966 |
@cindex fsh |
@cindex fsh (with fcp method) |
967 |
@cindex fcp |
@cindex fcp (with fcp method) |
968 |
|
|
969 |
This method is similar to @option{scp}, but it uses the @command{fsh} |
This method is similar to @option{scp}, but it uses the @command{fsh} |
970 |
command to connect to the remote host, and it uses @command{fcp} for |
command to connect to the remote host, and it uses @command{fcp} for |
979 |
/bin/sh -i} to establish the connection, it does not work to just say |
/bin/sh -i} to establish the connection, it does not work to just say |
980 |
@command{fsh @var{host} -l @var{user}}. |
@command{fsh @var{host} -l @var{user}}. |
981 |
|
|
982 |
|
@cindex method fsh |
983 |
|
@cindex fsh method |
984 |
There is no inline method using @command{fsh} as the multiplexing |
There is no inline method using @command{fsh} as the multiplexing |
985 |
provided by the program is not very useful in our context. @tramp{} |
provided by the program is not very useful in our context. @tramp{} |
986 |
opens just one connection to the remote host and then keeps it open, |
opens just one connection to the remote host and then keeps it open, |
1010 |
@item @option{multi} --- base64 encoding with @command{mimencode} |
@item @option{multi} --- base64 encoding with @command{mimencode} |
1011 |
@cindex method multi |
@cindex method multi |
1012 |
@cindex multi method |
@cindex multi method |
1013 |
@cindex base-64 encoding |
@cindex mimencode (with multi method) |
1014 |
@cindex mimencode |
@cindex base-64 encoding (with multi method) |
1015 |
|
|
1016 |
The file is transferred through the connection in base64 encoding. Uses |
The file is transferred through the connection in base64 encoding. Uses |
1017 |
the @command{mimencode} program for doing encoding and decoding, but |
the @command{mimencode} program for doing encoding and decoding, but |
1020 |
@item @option{multiu} --- use commands @command{uuencode} and @command{uudecode} |
@item @option{multiu} --- use commands @command{uuencode} and @command{uudecode} |
1021 |
@cindex method multiu |
@cindex method multiu |
1022 |
@cindex multiu method |
@cindex multiu method |
1023 |
@cindex uuencode |
@cindex uuencode (with multiu method) |
1024 |
|
|
1025 |
The file is transferred through the connection in `uu' encoding. Uses |
The file is transferred through the connection in `uu' encoding. Uses |
1026 |
the @command{uuencode} and @command{uudecode} programs for encoding and |
the @command{uuencode} and @command{uudecode} programs for encoding and |
1213 |
@comment node-name, next, previous, up |
@comment node-name, next, previous, up |
1214 |
@section Remote shell setup hints |
@section Remote shell setup hints |
1215 |
@cindex remote shell setup |
@cindex remote shell setup |
1216 |
@cindex .profile file |
@cindex @file{.profile} file |
1217 |
@cindex .login file |
@cindex @file{.login} file |
1218 |
@cindex shell init files |
@cindex shell init files |
1219 |
|
|
1220 |
As explained in the @ref{Overview} section, @tramp{} connects to the |
As explained in the @ref{Overview} section, @tramp{} connects to the |
1287 |
|
|
1288 |
@node Windows setup hints |
@node Windows setup hints |
1289 |
@section Issues with Cygwin ssh |
@section Issues with Cygwin ssh |
1290 |
@cindex Cygwin |
@cindex Cygwin, issues |
1291 |
|
|
1292 |
This section needs a lot of work! Please help. |
This section needs a lot of work! Please help. |
1293 |
|
|