Search ssh

How to Log Off Another Users ssh Connection by Command Line in Mac OS or Linux

Apr 3, 2019 - 4 Comments
How to log off an ssh user

Using SSH, or Secure Shell, is a very common way to establish remote connections to Mac and Linux machines from the command line. If you’re a systems administrator, or if you have SSH enabled on a Mac for another reason, you may eventually need to log off another users ssh connection. There are several ways … Read More

How to Get Telnet for MacOS in Big Sur, Catalina, Mojave or High Sierra

Jul 18, 2018 - 22 Comments
Get Telnet in Mac OS

Need to use Telnet in MacOS? Well, many Mac users have discovered that Telnet has been removed from modern versions of system software, including macOS Big Sur, Catalina, Mojave and macOS High Sierra. Presumably this is to encourage using the ssh client instead, but there are many Mac users who need Telnet for a variety … Read More

How to SSH on Mac with the Native SSH Client

Apr 28, 2017 - 17 Comments
Using SSH on a Mac

Did you know the Mac has a native SSH client built directly into the command line? This ssh client allows for secured connections and remote logins into other machines. Unlike Windows, you won’t need a third party app to utilize SSH for connections into remote computers and devices, because ssh is built directly into Mac … Read More

How to Download a File from a Server with SSH / SCP

Nov 7, 2016 - 4 Comments
Terminal in macOS

Users can securely download a file from any remote server with SSH by using the scp tool at the command line. Essentially this means you can have a file stored securely on a remote server and transfer it to local storage without having to expose that file to the outside world, because scp offers the … Read More

How to Enable SSH on a Mac from the Command Line

Aug 16, 2016 - 3 Comments
Terminal in macOS

All modern Macs running macOS or Mac OS X come with SSH pre-installed by default, but the SSH (Secure Shell) daemon is also disabled by default. Advanced Mac users may appreciate knowing the ability to enable SSH and disable SSH are both available entirely from the command line of Mac OS, allowing for a simple … Read More

Get Super Quick SSH Shortcuts from the Mac OS X Menu Bar with Shuttle

Jul 11, 2013 - Leave a Comment
Quick SSH shortcut access from the menu bar

Shuttle is an excellent little Mac app for those who frequently use SSH to connect to remote or local servers. It’s functionality is very simple: you gain a little SSH menu bar item that pulls down to give you super-quick access to whichever servers you have configured. Selecting one of the servers immediately launches terminal … Read More

Move SSH Keys From One Computer to Another

Jul 13, 2012 - 4 Comments
Migrate SSH Keys through Finder

For those that rely on passwordless logins via ssh, rather than generating a new SSH key for a new client machine, you can easily move SSH keys from one computer to another. This is a quick and easy solution for a temporary machine or username or for use on an auxiliary workstation. You could also … Read More

Create SSH Bookmarks in Terminal for Quick Remote Server Access in Mac OS X

Jun 3, 2012 - 5 Comments
SSH Bookmarks in Terminal

Setting up SSH bookmarks within Terminal app is an easy way to quickly connect to remote machines. If you haven’t noticed these in Terminal before it’s probably because they aren’t labeled as bookmarks, and therefore the feature gets frequently overlooked by even the most advanced Mac users. Here’s how to create bookmarks within Terminal, and … Read More

How to Set Up a Password-less SSH Login

May 25, 2012 - 29 Comments
Set up password-less SSH logins

Setting up passwordless SSH logins is a great way to speed up connections to regularly accessed remote Macs and unix boxes. Because not all versions of Mac OS X include the ssh-copy-id command, you may have to use cat or scp to copy over your ssh key. This is how to set everything up, it … Read More

How to Remotely Sleep a Mac from Anywhere with SSH or an iPhone

Mar 14, 2012 - 25 Comments
Remotely Sleep a Mac

Ever been away from your Mac and wished you could put it to sleep remotely? Maybe you accidentally left a Mac on at home or at work, or maybe you just left a Mac running so a download could complete. You don’t have to leave it running while you’re gone though, here are two different … Read More

Access US Only Websites from Outside the USA with a SOCKS Proxy & SSH Tunnel

Nov 29, 2011 - 7 Comments
Setup and use a SOCKS Proxy in Mac OS X

A wide variety of websites and online services are region restricted to the USA: Hulu, Netflix, Pandora, annual credit reports, some banks, the list is significant. Region restrictions are generally something you don’t notice until you need to access a website from outside the USA, and then they’re a huge pain. We’ll show you how … Read More

Enable Remote Login to Start SSH Server in Mac OS X

Sep 30, 2011 - 18 Comments
Remote Login enables SSH and SFTP

Remote Login is a feature in Mac OS X’s Sharing preferences that allow remote users to connect to a Mac in a secure fashion by using the OpenSSH protocols. Essentially, Remote Login starts an SSH server on a Mac, which includes the ability to accept incoming SSH connections, and is the secure replacement for telnet. … Read More

Change the iPhones Default Root Password

Sep 10, 2011 - 2 Comments

If you’re going to run something like OpenSSH or MobileTerminal on your iPhone or iOS device so that you can SSH in to it, you’ll want to change the root password for obvious security reasons. Without doing this, anyone can use the default ‘alpine’ password and connect to the hardware, assuming they know an SSH … Read More

How to SSH to an iPhone or iPad

Aug 4, 2011 - 6 Comments
SSH iPhone

You may know already that iOS has the same underlying unix architecture as Mac OS X, and because of this you can SSH into an iPhone or iPad just like you would connect to any other Mac or unix based machine. As it turns out for us nerdier users, this ability is disabled without a … Read More

Transfer Clipboard Text & Source Code From One Mac To Another Over SSH

May 5, 2011 - 6 Comments
Transfer Source Code and Text over SSH

Do you have some source code, text, or a command string that you want to securely transfer from one Mac to another? Combining the command line clipboard tools pbcopy and pbpaste with SSH we can do exactly that, and it doesn’t matter where the other Mac is located: be it LAN, WAN, or anywhere. Here … Read More

Need an SSH App for iPhone and iPad? Check Out Prompt

Apr 14, 2011 - 4 Comments

If you’ve been looking for a great SSH client for iPad or iPhone, Prompt is probably exactly what you’ve been searching for. Released by Panic software, Prompt is a great looking SSH app that includes a bunch of features to improve the SSH experience from an iOS device. Notable features are: autocompletion of frequently used … Read More

Use Aliases to Create SSH Shortcuts

Apr 11, 2011 - 12 Comments

More fun with SSH! We showed you how to setup SSH config files and use tab completion for SSH aliases, but setting up bash aliases is even easier if you are connecting to the same server over and over again. Here’s what you’ll need to do: nano ~/.bash_profile On a new line, enter something like … Read More

Enable Tab Completion for SSH Aliases

Apr 6, 2011 - 17 Comments

Yesterday we showed you how to setup a basic SSH Config file, and here’s how to make that even more useful: enable tab completion for those SSH aliases. Throw this into ~/.bash_profile or ~/.bashrc # Add Tab-completion for SSH host aliases complete -o default -o nospace -W "$(/usr/bin/env ruby -ne ‘puts $_.split(/[,s]+/)[1..-1].reject{|host| host.match(/*|?/)} if $_.match(/^s*Hosts+/);’ … Read More

Subscribe to OSXDaily

Subscribe to RSS Subscribe to Twitter Feed Follow on Facebook Subscribe to eMail Updates

Tips & Tricks


iPhone / iPad



Shop on Amazon to help support this site