I've noticed that the scp feature (scp://user@domain.tld//path/to/file) does not work with gvim, only with vim. Vim prompts for a password to login. Gvim returns a blank document. On the server side it appears that gvim authenticates improperly. Server log ssh session:Mar 22 09:18:25 ettin sshd(pam_unix)[17578]: check pass; user unknown Mar 22 09:18:25 ettin sshd(pam_unix)[17578]: authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=205.150.90.103 Mar 22 09:18:27 ettin sshd[17569]: error: PAM: Authentication failure for illegal user XXXXXX from 205.150.90.103 Mar 22 09:18:27 ettin sshd[17569]: Failed keyboard-interactive/pam for invalid user XXXXXX from 205.150.90.103 port 55414 ssh2 Reproducible: Always Steps to Reproduce: 1. 2. 3. valetta root # emerge -s gvim Searching... [ Results for search key : gvim ] [ Applications found : 1 ] * app-editors/gvim Latest version available: 6.3-r4 Latest version installed: 6.3-r4 Size of downloaded files: 4,729 kB Homepage: http://www.vim.org/ Description: GUI version of the Vim text editor License: vim valetta root # emerge info Portage 2.0.51-r15 (default-linux/x86/2004.0, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.9 i686) ================================================================= System uname: 2.6.9 i686 AMD Duron(tm) Processor Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 25 2005, 18:42:46)] dev-lang/python: 2.3.4-r1 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.5, 1.8.5-r3, 1.6.3, 1.7.9-r1, 1.4_p6, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.4.22-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=athlon -O3 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="ftp://gentoo.agsn.ca http://ftp.gentoo.or.kr/ http://gentoo.oregonstate.edu/ http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X alsa apm arts avi berkdb bitmap-fonts cdr crypt cups curl emboss encode esd fam font-server foomaticdb fortran gdbm gif gnome gpm gtk gtk2 imagemagick imlib innodb ipv6 java jpeg kde libg++ libwww mad mbox mikmod motif mp3 mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline samba sdl slang spell ssl svga tcltk tcpd tiff truetype truetype-fonts type1-fonts xinerama xml2 xmms xv zlib video_cards_matrox" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Hrm, do you have something dodgy in your vimrc or gvimrc?
The same thing happens if I do not use my .vimrc or my .gvimrc.
Does this work in 6.3.068?
Closing this as WORKSFORME. Please reopen if it's still happening in 6.3.068.
Upgraded gvim and vim to 6.3.68. The problem persists. Vim works as expected. Gvim works only if scp authentication is performed via keypair. Password authentication fails.
Ok, having read :help netrw... Yes, it will fail on password-prompted logins in the GUI because it does not have a /dev/tty to talk to. This is expected behaviour.
I could not find this in netrw. Can you please cite the paragraph.
Nevermind, Bram Moolenaar quoted the same thing to me. Sorry to have troubled you.