I am using my Mac Terminal to SSH into my GoDaddy hosting account.
I was wondering what text editor I could use through Terminal? I am not familiar with VIM or emacs at all so it's hard for me to use.
I've used gedit on Linux and quite like it. I wonder if I could install gedit on the Godaddy server?
Any advice would be appreciated. I am very new to working with SSH and the terminal.
Comments 2. SSH or Secure SHell is an encrypted connection protocol which is used to connect to the command line interface of a remote machine. Mac OS features a built-in SSH client called Terminal which allows you to quickly and easily connect to a server.
ZOC Terminal Another Terminal emulator that works incredibly well as an SSH client on Macs is ZOC Terminal. This is an emulator that is really great for staying organized when using and moving files around in SSH connections. ZOC Terminal lets you open multiple Terminal tabs and color code them to remind yourself what you’re connected to and where.
So PuTTY for Mac isn’t necessary to make an SSH connection or run command line on a Mac, but it does come with features that make it useful as an SSH client on Macs. PuTTY for Mac has a graphical user interface (GUI) that you can log in with instead of using the Terminal windows.
You can use the inbuilt terminal on your mac to connect to ssh server using the simple command you use in Linux. Open your Mac Terminal and type “ssh username@ipaddress”. Replace “username” with the username of the user you want to log in as and “ipaddress” with the address of the server.
There are lots of full-screen text editors, but if you want to edit files locally on your Mac and while ssh'd into a remote server without having to think about it, you really have to learn one of the ubiquitous editors.
In fact, ideally you should learn the basics of all three—at least how to get out safely—because at some point, you're going to accidentally visudo with VISUAL unset or set wrong and find yourself in the wrong editor.
nano (and its relatives in the pico family) is by far the easiest to learn if you're coming from a TextEdit/TeachText/Notepad background. However, it's the least ubiquitous, and the least efficient with both keystrokes and screen real estate, and real Unix geeks will laugh at you if they ask "vi or emacs" and you say "nano".
vi (and its relatives—in fact, usually you're using vim, not vi) is the most ubiquitous, and by far the most efficient for quick and simple edits. It's also much more usable from bizarre terminals like your favorite iPad ssh client (where hitting ^X is a major chore). And ultimately, most vi key sequences also work with ed and sometimes even sed, which is really handy when you're stuck on a terminal with full-screen support at all. However, it is by far the hardest to learn when you've coming from a GUI background—the idea that you can't enter or edit text in your text editor except by entering special modes is just weird.
emacs (and its relatives and simplified clones, like jove and ue) is the most efficient for doing complex operations. It's also nice that its weirder keystrokes (like ^A-F for cursor movement) are the same as the Terminal command line, libreadline, native Mac GUI text controls, and Firefox text controls. And if you really learn emacs, you can start using Aquamacs in the GUI, and programming it to automate all your tedious text editing, and so on. The only problem is that really learning emacs will take you years, and you might have other things to do with your life.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With