d2jsp
Log InRegister
d2jsp Forums > Off-Topic > Computers & IT > Programming & Development > Question About Ssh And Linux
123Next
Add Reply New Topic New Poll
Member
Posts: 19,514
Joined: Feb 21 2011
Gold: 3,877.57
Jun 9 2012 06:05pm
Is it possible to SSH into another server (another linux environment) and open that server's files in, say a text editor with a interface(and not in the terminal)? If so, is there a special option/command to do this?
Member
Posts: 13,425
Joined: Sep 29 2007
Gold: 0.00
Warn: 20%
Jun 9 2012 06:08pm
you would need to transfer the files to your server and open them which can be done a ssh file transfer protocol.

why cant you use vim?

nother option is to code a app that connects and cats a file and displays it locally on your box.
Member
Posts: 19,514
Joined: Feb 21 2011
Gold: 3,877.57
Jun 9 2012 06:09pm
Quote (AbDuCt @ Jun 9 2012 07:08pm)
you would need to transfer the files to your server and open them which can be done a ssh file transfer protocol.

why cant you use vim?

nother option is to code a app that connects and cats a file and displays it locally on your box.


What's special about vim?
Banned
Posts: 2,525
Joined: Jan 2 2012
Gold: 0.01
Warn: 10%
Jun 9 2012 06:27pm
X is designed specifically to allow this ...
Member
Posts: 13,425
Joined: Sep 29 2007
Gold: 0.00
Warn: 20%
Jun 9 2012 06:53pm
Quote (ikusus @ Jun 9 2012 08:27pm)
X is designed specifically to allow this ...


never used X so i didnt know

Quote (MsRailgun @ Jun 9 2012 08:09pm)
What's special about vim?


its a console text editor. why do you need to open the files locally?
Member
Posts: 19,514
Joined: Feb 21 2011
Gold: 3,877.57
Jun 9 2012 07:20pm
Quote (AbDuCt @ Jun 9 2012 07:53pm)
never used X so i didnt know



its a console text editor. why do you need to open the files locally?


It's quicker for me to edit the text instead of getting use to text editor hot keys. Although I have no problem doing it in the terminal.

Quote (ikusus @ Jun 9 2012 07:27pm)
X is designed specifically to allow this ...


Do you mean OS X? Would it allow me to ssh files for text editing with a nice graphical interface? If so, should I know anything to make this functional before I boot it up in virtual machine?

This post was edited by MsRailgun on Jun 9 2012 07:20pm
Banned
Posts: 2,525
Joined: Jan 2 2012
Gold: 0.01
Warn: 10%
Jun 9 2012 07:41pm
Quote (MsRailgun @ 10 Jun 2012 02:20)


Do you mean OS X? Would it allow me to ssh files for text editing with a nice graphical interface? If so, should I know anything to make this functional before I boot it up in virtual machine?


No I mean X, as in Xwindows, implemented by X.org

google something along "remote xwindows" / "remote xorg" / "x over ssh" etc.
Member
Posts: 13,425
Joined: Sep 29 2007
Gold: 0.00
Warn: 20%
Jun 9 2012 08:38pm
Quote (MsRailgun @ Jun 9 2012 09:20pm)
It's quicker for me to edit the text instead of getting use to text editor hot keys. Although I have no problem doing it in the terminal.



Do you mean OS X? Would it allow me to ssh files for text editing with a nice graphical interface? If so, should I know anything to make this functional before I boot it up in virtual machine?


its not really that hard to memorize like 1 hotkey and 3 commands. lol
Member
Posts: 19,514
Joined: Feb 21 2011
Gold: 3,877.57
Jun 9 2012 09:16pm
Quote (AbDuCt @ Jun 9 2012 09:38pm)
its not really that hard to memorize like 1 hotkey and 3 commands. lol


I don't know, it just feels better to be able to control it using a mouse :o
I've tried X forwarding and it's rather slow on my laptop... to a point where I rather just use the hotkey and commands.
Member
Posts: 16,144
Joined: Mar 27 2008
Gold: 14,618.00
Jun 10 2012 01:16pm
if you don't like vim then you could use nano

all vim shortcuts you need to know:
i -> go to insert mode, then you are able to insert stuff
esc : w q -> (go to command mode and) quit with saving

the rest is typing your stuff, you can even move with the arrow keys
Go Back To Programming & Development Topic List
123Next
Add Reply New Topic New Poll