comparison man/tramp.texi @ 46366:93ea423da06e

Index entries.
author Kai Großjohann <kgrossjo@eu.uu.net>
date Sun, 14 Jul 2002 19:52:35 +0000
parents a3acca116f2f
children f548d7d0c651
comparison
equal deleted inserted replaced
46365:4ad453c26cf3 46366:93ea423da06e
211 @xref{Bug Reports}. 211 @xref{Bug Reports}.
212 212
213 213
214 @subsubheading Behind the scenes 214 @subsubheading Behind the scenes
215 @cindex behind the scenes 215 @cindex behind the scenes
216 @cindex details of operation
217 @cindex how it works
216 218
217 This section tries to explain what goes on behind the scenes when you 219 This section tries to explain what goes on behind the scenes when you
218 access a remote file through @tramp{}. 220 access a remote file through @tramp{}.
219 221
220 Suppose you type @kbd{C-x C-f} and enter part of an @tramp{} file name, 222 Suppose you type @kbd{C-x C-f} and enter part of an @tramp{} file name,
604 606
605 @table @asis 607 @table @asis
606 @item @option{rm} --- @command{rsh} with @command{mimencode} 608 @item @option{rm} --- @command{rsh} with @command{mimencode}
607 @cindex method rm 609 @cindex method rm
608 @cindex rm method 610 @cindex rm method
609 @cindex method using rsh 611 @cindex method using rsh (rm)
610 612
611 Connect to the remote host with @command{rsh} and use base64 encoding to 613 Connect to the remote host with @command{rsh} and use base64 encoding to
612 transfer files between the machines. 614 transfer files between the machines.
613 615
614 This requires the @command{mimencode} command that is part of the 616 This requires the @command{mimencode} command that is part of the
617 619
618 620
619 @item @option{sm} --- @command{ssh} with @command{mimencode} 621 @item @option{sm} --- @command{ssh} with @command{mimencode}
620 @cindex method sm 622 @cindex method sm
621 @cindex sm method 623 @cindex sm method
622 @cindex method using ssh 624 @cindex method using ssh (sm)
623 @cindex ssh 625 @cindex ssh (with sm method)
624 @cindex mimencode 626 @cindex mimencode (with sm method)
625 @cindex base-64 encoding 627 @cindex base-64 encoding (with sm method)
626 628
627 Connect to the remote host with @command{ssh} and use base64 encoding to 629 Connect to the remote host with @command{ssh} and use base64 encoding to
628 transfer files between the machines. 630 transfer files between the machines.
629 631
630 This is identical to the previous option except that the @command{ssh} 632 This is identical to the previous option except that the @command{ssh}
642 644
643 645
644 @item @option{tm} --- @command{telnet} with @command{mimencode} 646 @item @option{tm} --- @command{telnet} with @command{mimencode}
645 @cindex method tm 647 @cindex method tm
646 @cindex tm method 648 @cindex tm method
647 @cindex method using telnet 649 @cindex method using telnet (tm)
648 @cindex telnet 650 @cindex telnet (with tm method)
649 @cindex mimencode 651 @cindex mimencode (with tm method)
650 @cindex base-64 encoding 652 @cindex base-64 encoding (with tm method)
651 653
652 Connect to the remote host with @command{telnet} and use base64 encoding 654 Connect to the remote host with @command{telnet} and use base64 encoding
653 to transfer files between the machines. 655 to transfer files between the machines.
654 656
655 This requires the @command{mimencode} command that is part of the 657 This requires the @command{mimencode} command that is part of the
658 660
659 @item @option{ru} --- @command{rsh} with @command{uuencode} 661 @item @option{ru} --- @command{rsh} with @command{uuencode}
660 @cindex method ru 662 @cindex method ru
661 @cindex ru method 663 @cindex ru method
662 @cindex method using rsh 664 @cindex method using rsh
663 @cindex rsh 665 @cindex rsh (with ru method)
664 @cindex uuencode 666 @cindex uuencode (with ru method)
665 667
666 Connect to the remote host with @command{rsh} and use the 668 Connect to the remote host with @command{rsh} and use the
667 @command{uuencode} and @command{uudecode} commands to transfer files 669 @command{uuencode} and @command{uudecode} commands to transfer files
668 between the machines. 670 between the machines.
669 671
670 672
671 @item @option{su} --- @command{ssh} with @command{uuencode} 673 @item @option{su} --- @command{ssh} with @command{uuencode}
672 @cindex method su 674 @cindex method su
673 @cindex su method 675 @cindex su method
674 @cindex method using ssh 676 @cindex method using ssh (su)
675 @cindex ssh 677 @cindex ssh (with su method)
676 @cindex uuencode 678 @cindex uuencode (with su method)
677 679
678 Connect to the remote host with @command{ssh} and use the 680 Connect to the remote host with @command{ssh} and use the
679 @command{uuencode} and @command{uudecode} commands to transfer files 681 @command{uuencode} and @command{uudecode} commands to transfer files
680 between the machines. 682 between the machines.
681 683
690 692
691 693
692 @item @option{tu} --- @command{telnet} with @command{uuencode} 694 @item @option{tu} --- @command{telnet} with @command{uuencode}
693 @cindex tu method 695 @cindex tu method
694 @cindex method tu 696 @cindex method tu
695 @cindex method using telnet 697 @cindex method using telnet (tu)
696 @cindex telnet 698 @cindex telnet (with tu method)
697 @cindex uuencode 699 @cindex uuencode (with tu method)
698 700
699 Connect to the remote host with @command{telnet} and use the 701 Connect to the remote host with @command{telnet} and use the
700 @command{uuencode} and @command{uudecode} commands to transfer files 702 @command{uuencode} and @command{uudecode} commands to transfer files
701 between the machines. 703 between the machines.
702 704
703 705
704 @item @option{sum} --- @command{su} with @command{mimencode} 706 @item @option{sum} --- @command{su} with @command{mimencode}
705 @cindex method sum 707 @cindex method sum
706 @cindex sum method 708 @cindex sum method
707 @cindex method using su 709 @cindex method using su (sum)
708 @cindex su 710 @cindex su (with sum method)
709 @cindex mimencode 711 @cindex mimencode (with sum method)
710 @cindex base-64 encoding 712 @cindex base-64 encoding (with sum method)
711 713
712 This method does not connect to a remote host at all, rather it uses the 714 This method does not connect to a remote host at all, rather it uses the
713 @command{su} program to allow you to edit files as another user. Uses 715 @command{su} program to allow you to edit files as another user. Uses
714 base64 encoding to transfer the file contents. 716 base64 encoding to transfer the file contents.
715 717
716 718
717 @item @option{suu} --- @command{su} with @command{uuencode} 719 @item @option{suu} --- @command{su} with @command{uuencode}
718 @cindex method suu 720 @cindex method suu
719 @cindex suu method 721 @cindex suu method
720 @cindex method using su 722 @cindex method using su (suu)
721 @cindex su 723 @cindex su (with suu method)
722 @cindex uuencode 724 @cindex uuencode (with suu method)
723 725
724 Like @option{sum}, this uses the @command{su} program to allow you to 726 Like @option{sum}, this uses the @command{su} program to allow you to
725 edit files on the local host as another user. Uses @command{uuencode} 727 edit files on the local host as another user. Uses @command{uuencode}
726 and @command{uudecode} to transfer the file contents. 728 and @command{uudecode} to transfer the file contents.
727 729
728 730
729 @item @option{sudm} --- @command{sudo} with @command{mimencode} 731 @item @option{sudm} --- @command{sudo} with @command{mimencode}
730 @cindex method sudm 732 @cindex method sudm
731 @cindex sudm method 733 @cindex sudm method
732 @cindex method using sudo 734 @cindex method using sudo (sudm)
733 @cindex sudo 735 @cindex sudo (with sudm method)
734 @cindex mimencode 736 @cindex mimencode (with sudm method)
735 @cindex base-64 encoding 737 @cindex base-64 encoding (with sudm method)
736 738
737 This is similar to the @option{sum} method, but it uses @command{sudo} 739 This is similar to the @option{sum} method, but it uses @command{sudo}
738 rather than @command{su} to become a different user. 740 rather than @command{su} to become a different user.
739 741
740 Note that @command{sudo} must be configured to allow you to start a 742 Note that @command{sudo} must be configured to allow you to start a
744 746
745 747
746 @item @option{sudu} --- @command{sudo} with @command{uuencode} 748 @item @option{sudu} --- @command{sudo} with @command{uuencode}
747 @cindex method sudu 749 @cindex method sudu
748 @cindex sudu method 750 @cindex sudu method
749 @cindex method using sudo 751 @cindex method using sudo (sudu)
750 @cindex sudo 752 @cindex sudo (with sudu method)
751 @cindex uuencode 753 @cindex uuencode (with sudu method)
752 754
753 This is similar to the @option{suu} method, but it uses @command{sudo} 755 This is similar to the @option{suu} method, but it uses @command{sudo}
754 rather than @command{su} to become a different user. 756 rather than @command{su} to become a different user.
755 757
756 758
757 @item @option{smx} --- @command{ssh} with @command{mimencode} 759 @item @option{smx} --- @command{ssh} with @command{mimencode}
758 @cindex method smx 760 @cindex method smx
759 @cindex smx method 761 @cindex smx method
760 @cindex method using ssh 762 @cindex method using ssh (smx)
761 @cindex ssh 763 @cindex ssh (with smx method)
762 @cindex mimencode 764 @cindex mimencode (with smx method)
763 @cindex base-64 encoding 765 @cindex base-64 encoding (with smx method)
764 @cindex Cygwin 766 @cindex Cygwin (with smx method)
765 767
766 As you expect, this is similar to @option{sm}, only a little 768 As you expect, this is similar to @option{sm}, only a little
767 different. Whereas @option{sm} opens a normal interactive shell on 769 different. Whereas @option{sm} opens a normal interactive shell on
768 the remote host, this option uses @samp{ssh -t -t @var{host} -l 770 the remote host, this option uses @samp{ssh -t -t @var{host} -l
769 @var{user} /bin/sh} tp open a connection. This is useful for users 771 @var{user} /bin/sh} tp open a connection. This is useful for users
790 792
791 793
792 @item @option{km} --- @command{krlogin} with @command{mimencode} 794 @item @option{km} --- @command{krlogin} with @command{mimencode}
793 @cindex method km 795 @cindex method km
794 @cindex km method 796 @cindex km method
795 @cindex krlogin 797 @cindex krlogin (with km method)
796 @cindex Kerberos 798 @cindex Kerberos (with km method)
797 @cindex mimencode 799 @cindex mimencode (with km method)
798 @cindex base-64 encoding 800 @cindex base-64 encoding (with km method)
799 801
800 This method is also similar to @option{sm}. It only uses the 802 This method is also similar to @option{sm}. It only uses the
801 @command{krlogin -x} command to log in to the remote host. 803 @command{krlogin -x} command to log in to the remote host.
802 804
803 805
804 @item @option{plinku} --- @command{plink} with @command{uuencode} 806 @item @option{plinku} --- @command{plink} with @command{uuencode}
805 @cindex method plinku 807 @cindex method plinku
806 @cindex plinku method 808 @cindex plinku method
807 @cindex method using plink 809 @cindex method using plink (plinku)
808 @cindex plink 810 @cindex plink (with plinku method)
809 @cindex uuencode 811 @cindex uuencode (with plinku method)
810 812
811 This method is mostly interesting for Windows users using the PuTTY 813 This method is mostly interesting for Windows users using the PuTTY
812 implementation of SSH. It uses @samp{plink -ssh} to log in to the 814 implementation of SSH. It uses @samp{plink -ssh} to log in to the
813 remote host. 815 remote host.
814 816
819 will support that, anyway. 821 will support that, anyway.
820 822
821 @item @option{plinkm} --- @command{plink} with @command{mimencode} 823 @item @option{plinkm} --- @command{plink} with @command{mimencode}
822 @cindex method plinkm 824 @cindex method plinkm
823 @cindex plinkm method 825 @cindex plinkm method
824 @cindex method using plink 826 @cindex method using plink (plinkm)
825 @cindex plink 827 @cindex plink (with plinkm method)
826 @cindex mimencode 828 @cindex mimencode (with plinkm method)
827 @cindex base-64 encoding 829 @cindex base-64 encoding (with plinkm method)
828 830
829 Like @option{plinku}, but uses base64 encoding instead of uu encoding. 831 Like @option{plinku}, but uses base64 encoding instead of uu encoding.
830 832
831 @end table 833 @end table
832 834
865 867
866 @table @asis 868 @table @asis
867 @item @option{rcp} --- @command{rsh} and @command{rcp} 869 @item @option{rcp} --- @command{rsh} and @command{rcp}
868 @cindex method rcp 870 @cindex method rcp
869 @cindex rcp method 871 @cindex rcp method
870 @cindex rcp 872 @cindex rcp (with rcp method)
871 @cindex rsh 873 @cindex rsh (with rcp method)
872 874
873 This method uses the @command{rsh} and @command{rcp} commands to connect 875 This method uses the @command{rsh} and @command{rcp} commands to connect
874 to the remote machine and transfer files. This is probably the fastest 876 to the remote machine and transfer files. This is probably the fastest
875 connection method available. 877 connection method available.
876 878
877 879
878 @item @option{scp} --- @command{ssh} and @command{scp} 880 @item @option{scp} --- @command{ssh} and @command{scp}
879 @cindex method scp 881 @cindex method scp
880 @cindex scp method 882 @cindex scp method
881 @cindex scp 883 @cindex scp (with scp method)
882 @cindex ssh 884 @cindex ssh (with scp method)
883 885
884 Using @command{ssh} to connect to the remote host and @command{scp} to 886 Using @command{ssh} to connect to the remote host and @command{scp} to
885 transfer files between the machines is the best method for securely 887 transfer files between the machines is the best method for securely
886 connecting to a remote machine and accessing files. 888 connecting to a remote machine and accessing files.
887 889
898 900
899 901
900 @item @option{rsync} --- @command{ssh} and @command{rsync} 902 @item @option{rsync} --- @command{ssh} and @command{rsync}
901 @cindex method rsync 903 @cindex method rsync
902 @cindex rsync method 904 @cindex rsync method
903 @cindex rsync 905 @cindex rsync (with rsync method)
904 @cindex ssh 906 @cindex ssh (with rsync method)
905 907
906 Using the @command{ssh} command to connect securely to the remote 908 Using the @command{ssh} command to connect securely to the remote
907 machine and the @command{rsync} command to transfer files is almost 909 machine and the @command{rsync} command to transfer files is almost
908 identical to the @option{scp} method. 910 identical to the @option{scp} method.
909 911
919 921
920 922
921 @item @option{scpx} --- @command{ssh} and @command{scp} 923 @item @option{scpx} --- @command{ssh} and @command{scp}
922 @cindex method scpx 924 @cindex method scpx
923 @cindex scpx method 925 @cindex scpx method
924 @cindex scp 926 @cindex scp (with scpx method)
925 @cindex ssh 927 @cindex ssh (with scpx method)
926 @cindex Cygwin 928 @cindex Cygwin (with scpx method)
927 929
928 As you expect, this is similar to @option{scp}, only a little 930 As you expect, this is similar to @option{scp}, only a little
929 different. Whereas @option{scp} opens a normal interactive shell on 931 different. Whereas @option{scp} opens a normal interactive shell on
930 the remote host, this option uses @samp{ssh -t -t @var{host} -l 932 the remote host, this option uses @samp{ssh -t -t @var{host} -l
931 @var{user} /bin/sh} to open a connection. This is useful for users 933 @var{user} /bin/sh} to open a connection. This is useful for users
944 946
945 947
946 @item @option{pscp} --- @command{plink} and @command{pscp} 948 @item @option{pscp} --- @command{plink} and @command{pscp}
947 @cindex method pscp 949 @cindex method pscp
948 @cindex pscp method 950 @cindex pscp method
949 @cindex pscp 951 @cindex pscp (with pscp method)
950 @cindex plink 952 @cindex plink (with pscp method)
951 @cindex PuTTY 953 @cindex PuTTY (with pscp method)
952 954
953 This method is similar to @option{scp}, but it uses the 955 This method is similar to @option{scp}, but it uses the
954 @command{plink} command to connect to the remote host, and it uses 956 @command{plink} command to connect to the remote host, and it uses
955 @command{pscp} for transferring the files. These programs are part 957 @command{pscp} for transferring the files. These programs are part
956 of PuTTY, an SSH implementation for Windows. 958 of PuTTY, an SSH implementation for Windows.
959 961
960 962
961 @item @option{fcp} --- @command{fsh} and @command{fcp} 963 @item @option{fcp} --- @command{fsh} and @command{fcp}
962 @cindex method fcp 964 @cindex method fcp
963 @cindex fcp method 965 @cindex fcp method
964 @cindex fsh 966 @cindex fsh (with fcp method)
965 @cindex fcp 967 @cindex fcp (with fcp method)
966 968
967 This method is similar to @option{scp}, but it uses the @command{fsh} 969 This method is similar to @option{scp}, but it uses the @command{fsh}
968 command to connect to the remote host, and it uses @command{fcp} for 970 command to connect to the remote host, and it uses @command{fcp} for
969 transferring the files. @command{fsh/fcp} are a front-end for 971 transferring the files. @command{fsh/fcp} are a front-end for
970 @command{ssh} which allow for reusing the same @command{ssh} session 972 @command{ssh} which allow for reusing the same @command{ssh} session
975 977
976 This method uses the command @samp{fsh @var{host} -l @var{user} 978 This method uses the command @samp{fsh @var{host} -l @var{user}
977 /bin/sh -i} to establish the connection, it does not work to just say 979 /bin/sh -i} to establish the connection, it does not work to just say
978 @command{fsh @var{host} -l @var{user}}. 980 @command{fsh @var{host} -l @var{user}}.
979 981
982 @cindex method fsh
983 @cindex fsh method
980 There is no inline method using @command{fsh} as the multiplexing 984 There is no inline method using @command{fsh} as the multiplexing
981 provided by the program is not very useful in our context. @tramp{} 985 provided by the program is not very useful in our context. @tramp{}
982 opens just one connection to the remote host and then keeps it open, 986 opens just one connection to the remote host and then keeps it open,
983 anyway. 987 anyway.
984 988
1004 1008
1005 @table @asis 1009 @table @asis
1006 @item @option{multi} --- base64 encoding with @command{mimencode} 1010 @item @option{multi} --- base64 encoding with @command{mimencode}
1007 @cindex method multi 1011 @cindex method multi
1008 @cindex multi method 1012 @cindex multi method
1009 @cindex base-64 encoding 1013 @cindex mimencode (with multi method)
1010 @cindex mimencode 1014 @cindex base-64 encoding (with multi method)
1011 1015
1012 The file is transferred through the connection in base64 encoding. Uses 1016 The file is transferred through the connection in base64 encoding. Uses
1013 the @command{mimencode} program for doing encoding and decoding, but 1017 the @command{mimencode} program for doing encoding and decoding, but
1014 uses an Emacs internal implementation on the local host if available. 1018 uses an Emacs internal implementation on the local host if available.
1015 1019
1016 @item @option{multiu} --- use commands @command{uuencode} and @command{uudecode} 1020 @item @option{multiu} --- use commands @command{uuencode} and @command{uudecode}
1017 @cindex method multiu 1021 @cindex method multiu
1018 @cindex multiu method 1022 @cindex multiu method
1019 @cindex uuencode 1023 @cindex uuencode (with multiu method)
1020 1024
1021 The file is transferred through the connection in `uu' encoding. Uses 1025 The file is transferred through the connection in `uu' encoding. Uses
1022 the @command{uuencode} and @command{uudecode} programs for encoding and 1026 the @command{uuencode} and @command{uudecode} programs for encoding and
1023 decoding, but uses a Lisp implementation for decoding on the local host 1027 decoding, but uses a Lisp implementation for decoding on the local host
1024 if available. 1028 if available.
1207 1211
1208 @node Remote shell setup 1212 @node Remote shell setup
1209 @comment node-name, next, previous, up 1213 @comment node-name, next, previous, up
1210 @section Remote shell setup hints 1214 @section Remote shell setup hints
1211 @cindex remote shell setup 1215 @cindex remote shell setup
1212 @cindex .profile file 1216 @cindex @file{.profile} file
1213 @cindex .login file 1217 @cindex @file{.login} file
1214 @cindex shell init files 1218 @cindex shell init files
1215 1219
1216 As explained in the @ref{Overview} section, @tramp{} connects to the 1220 As explained in the @ref{Overview} section, @tramp{} connects to the
1217 remote host and talks to the shell it finds there. Of course, when you 1221 remote host and talks to the shell it finds there. Of course, when you
1218 log in, the shell executes its init files. Suppose your init file 1222 log in, the shell executes its init files. Suppose your init file
1281 @end table 1285 @end table
1282 1286
1283 1287
1284 @node Windows setup hints 1288 @node Windows setup hints
1285 @section Issues with Cygwin ssh 1289 @section Issues with Cygwin ssh
1286 @cindex Cygwin 1290 @cindex Cygwin, issues
1287 1291
1288 This section needs a lot of work! Please help. 1292 This section needs a lot of work! Please help.
1289 1293
1290 @cindex method smx with Cygwin 1294 @cindex method smx with Cygwin
1291 @cindex smx method with Cygwin 1295 @cindex smx method with Cygwin