Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Why does my ssh open Vim?
- Pinku Surana
October 25, 2010, 1:01 pm
rate this thread
Notice the last line is a warning from Vim. The shell hangs and I have
to enter ":q" to exit Vim. I don't see any direct calls to Vim from
any system or local config files for profile, bash or ssh. In fact,
I'm using the default install from Ubuntu. Does anyone know who might
be calling Vim? How can I track it down?
"Linux ubuntu-scooby 2.6.31-22-generic #67-Ubuntu SMP Sat Oct 16
19:10:07 UTC 2010 i686
To access official Ubuntu documentation, please visit:
Last login: Fri Oct 22 18:33:52 2010 from localhost
Vim: Warning: Output is not to a terminal"
- Nico Kadel-Garcia
October 28, 2010, 3:07 am
Re: Why does my ssh open Vim?
What are the impacts of using multiple -t options or using -T? Is -t
significant in causing the problem?
Try adding multiple -v options to the ssh command to do better
Anything funky in ~/.ssh/config or /etc/ssh/ssh_config? For example
is LocalCommand set to something.
Anything funky in /etc/sshd_config. For example is ForceCommand set?
Anything funky in ~/.ssh/rc?
Is localhost set to something funky in /etc/hosts or in your dns? Try
127.0.0.1 instead of localhost.
Does the problem occur without ssh being involved? Try "bash -l". If
so try "bash -x -l" to trace the set of start up stuff.
Try the above after exiting vim inside the ssh session.
Just some additional suggestions.
I've never been lost; I was once bewildered for three days, but never lost!
-- Daniel Boone
- » Openssh 4.9p1 - chroot jail - /dev/pts/3: Permission denied
- — Previous thread in » Secure Shell Forum
- » ssh on command line: force using a group size (prime size) of 1024 (and no...
- — Newest thread in » Secure Shell Forum