Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 86261 - Gvim scp option fails
Summary: Gvim scp option fails
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Vim Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-22 07:38 UTC by Neil Watson
Modified: 2005-05-28 05:12 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Neil Watson 2005-03-22 07:38:11 UTC
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
Comment 1 Ciaran McCreesh 2005-03-22 08:55:07 UTC
Hrm, do you have something dodgy in your vimrc or gvimrc?
Comment 2 Neil Watson 2005-03-22 08:58:58 UTC
The same thing happens if I do not use my .vimrc or my .gvimrc.
Comment 3 Ciaran McCreesh 2005-03-25 14:13:56 UTC
Does this work in 6.3.068?
Comment 4 Ciaran McCreesh 2005-04-05 10:57:12 UTC
Closing this as WORKSFORME. Please reopen if it's still happening in 6.3.068.
Comment 5 Neil Watson 2005-04-07 07:50:10 UTC
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.
Comment 6 Ciaran McCreesh 2005-05-28 01:12:32 UTC
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.
Comment 7 Neil Watson 2005-05-28 05:08:52 UTC
I could not find this in netrw.  Can you please cite the paragraph.
Comment 8 Neil Watson 2005-05-28 05:12:43 UTC
Nevermind,  Bram Moolenaar quoted the same thing to me.  Sorry to have troubled you.