[EMAIL PROTECTED] (Haines Brown) writes: > I was able to get to my target disk today and look into why ssh is not > successfully logging into an ftp server. I checked that ssh was fully > installed and was configured. > > You suggested that I run ssh from a command line, that worked very > nicely. I could not reproduce the problem using that method. Here are > bits of the session: > > $ ssh -vvv [EMAIL PROTECTED]:/html
Are you really sure you have done it this way? ssh does not accept path names in host names. Here my local attempt: magdalene:~/src/emacs> ssh -vvv [EMAIL PROTECTED]:/html OpenSSH_3.8.1p1 Debian-8.sarge.4, OpenSSL 0.9.7e 25 Oct 2004 debug1: Reading configuration data /home/albinus/.ssh/config debug1: Reading configuration data /etc/ssh/ssh_config debug2: ssh_connect: needpriv 0 ssh: hartford-hwp.com:/html: Name or service not known When I apply "ssh -vvv [EMAIL PROTECTED]", I reach a password prompt (which I'm not able to awnser, of course). > So ssh is working, but I'm nevertheless having trouble with trap using > ssh in emacs. When I do simple ftp, I've no problem. These give me > access to the files on the server: > > C-x C-f /ftp:[EMAIL PROTECTED]:/html > C-x C-f /[EMAIL PROTECTED]:/html > > But both of the following commands fail (I have ssh set as default in > ~/.emacs): > > C-x C-f /[EMAIL PROTECTED]:/html > C-x C-f /ssh:[EMAIL PROTECTED]:/html > > Both return: > > File not found and directory is write protected ftp and ssh use different root directories. Please try the following: C-x C-f /ssh:[EMAIL PROTECTED]:/ C-x C-f /ftp:[EMAIL PROTECTED]:/ Both cases, you will be in dired, showing directory listing of respective root diectories. > If I truncate the target and use simply: > C-x C-f /[EMAIL PROTECTED] I assume you mean "/[EMAIL PROTECTED]:". Sorry for being pedantic, but it makes a difference. > I get put into what appears to be the file server's root > directory. This suggests to me that my syntax (....com:/html) is not > putting me in the right place, although the syntax looks correct. Is > this inference correct? "/[EMAIL PROTECTED]:" should show the home directory of usr1066. "/[EMAIL PROTECTED]:/" goes to the root directory of the host (ssh method assumed). Both directories are different to the ftp root directory. Sorry for confusing you, but all these things are outside Tramp's responsibility. > Haines Brown Best regards, Michael. _______________________________________________ Tramp-devel mailing list [email protected] http://lists.gnu.org/mailman/listinfo/tramp-devel
