LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS
User Name
Password
CentOS This forum is for the discussion of CentOS Linux. Note: This forum does not have any official participation.

Notices


Reply
  Search this Thread
Old 11-04-2014, 01:43 PM   #1
julienfmills
LQ Newbie
 
Registered: Jun 2009
Location: Pennsylvania, USA
Distribution: CentOS, Slackware
Posts: 21

Rep: Reputation: 2
CentOS 7 ssh vi


Folks,

I am using a CentOS 7 machine and using konsole.

When I ssh to a slackware machine and start vi, it doesn't start correctly, doesn't seem to start full screen. So I use vim which starts full screen. But in vim, I can't highlight, copy and paste.

This works fine on CentOS 6 to slackware.

And it works fine connecting CentOS 7 to CentOS 6.

It's a long-shot, but... has anyone else run into this?
 
Old 11-13-2014, 03:47 PM   #2
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
I haven't run into what you have going on.

I'm willing to find out why with my 2 machine's as I'm running the same to distributions as you.

I'm not on a server yet so I may not be able to ssh my CentOS 7 machine to Slackware or vice versa.

If there is something I can run for you to test?

With VM you can hold down Ctrl-Alt-Enter keys at the same to get full screen.
I'm not sure if that will work in Vim but it can't hurt to try-

Why you can't highlight, copy and paste in vim has me baffled. (you should be able to)
Perhaps the PDF will be of some use.
http://www.eandem.co.uk/mrw/vim/usr_doc/doc_a4m.pdf
 
Old 11-14-2014, 08:27 AM   #3
julienfmills
LQ Newbie
 
Registered: Jun 2009
Location: Pennsylvania, USA
Distribution: CentOS, Slackware
Posts: 21

Original Poster
Rep: Reputation: 2
Z,

Thanks for the reply, at the moment I'm not doing anything about this because I don't know what to do.
But, to replicate the issue:

Open up a terminal on your CentOS 7 machine (I'm using Konsole 2.10.5).
ssh to the Slack machine.
On the Slack machine, vim a file.
Now use the mouse to highlight text.

Usually the text is copied by just highlighting, but not here ... So ....
If I click 'Edit' up top, the copy is greyed out.
If I right click the text, no menu, it undoes some of the highlighting.


I know that highlighting text is a tricky thing, right now I'm just working around this.
 
Old 11-14-2014, 10:41 AM   #4
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Quote:
Originally Posted by julienfmills View Post
Z,

Thanks for the reply, at the moment I'm not doing anything about this because I don't know what to do.
But, to replicate the issue:

Open up a terminal on your CentOS 7 machine (I'm using Konsole 2.10.5).
ssh to the Slack machine.
On the Slack machine, vim a file.
Now use the mouse to highlight text.

Usually the text is copied by just highlighting, but not here ... So ....
If I click 'Edit' up top, the copy is greyed out.
If I right click the text, no menu, it undoes some of the highlighting.


I know that highlighting text is a tricky thing, right now I'm just working around this.
In order to ssh to my Slackware machine I need to have LAMMP stack installed and working right?
 
Old 11-14-2014, 10:54 AM   #5
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,278

Rep: Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694
No, LAMP is Linux + Apache + Mysql + PHP, which is a web server.

SSH is a secure shell, which requires the SSH Daemon be running on the target machine.
 
1 members found this post helpful.
Old 11-14-2014, 11:19 AM   #6
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Thanks szboardstretcher

I found a Commandline SSH User Guide- (read that a while)
http://rcc.its.psu.edu/user_guides/r...nectivity/ssh/
 
Old 11-14-2014, 11:24 AM   #7
julienfmills
LQ Newbie
 
Registered: Jun 2009
Location: Pennsylvania, USA
Distribution: CentOS, Slackware
Posts: 21

Original Poster
Rep: Reputation: 2
Probably if you did a default install of Slackware ssh will be up and running.
 
1 members found this post helpful.
Old 11-14-2014, 12:07 PM   #8
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Quote:
Originally Posted by julienfmills View Post
Probably if you did a default install of Slackware ssh will be up and running.
I have to look.
I did perform a default install--
 
Old 11-14-2014, 07:35 PM   #9
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Maybe try a different terminal to get full screen.
Or check the terminal variables against 6.

Just an idea/suggestion:-
 
Old 11-15-2014, 02:22 PM   #10
dunne
Member
 
Registered: May 2014
Distribution: OpenBSD
Posts: 67

Rep: Reputation: 36
Probably your TERM variable is not being set correctly when you log in via ssh. What does "echo $TERM" tell you when you log in? Try setting it to something conservative and sensible, like "vt100", then running vi.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
CentOS 6.4 and SSH blyssed Linux - Newbie 2 07-26-2013 01:20 PM
Centos 6 cannot ssh externally? newbie14 Linux - Networking 51 01-06-2012 10:46 AM
SSH Tunneling on Centos wuhaa Linux - Security 2 02-11-2009 11:30 PM
SSH and CentOs, need help HyperTrey Linux - Desktop 6 10-18-2006 03:22 PM
CentOS 3.4 SSH Hangup wired420 Linux - General 3 01-27-2005 11:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS

All times are GMT -5. The time now is 12:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration