New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
Switcher Hangout The place for switchers to discuss their new machines, and how to work with OS X. General support can be had here for newbie stuff, like "How do I restart my new iMac?" :)

SSH in OSX


Post Reply New Thread Subscribe

 
Thread Tools
Big Dan

 
Big Dan's Avatar
 
Member Since: Feb 01, 2009
Location: New York
Posts: 95
Big Dan is on a distinguished road
Mac Specs: Mini 1.83Ghz Dual Core, 2 GB RAM, running 10.6.1

Big Dan is offline
More of an advanced question for the switcher lounge but I'm wondering if Leopard has secure shell built in.

Can I open terminal and SSH into my server like I can under Linux? If, so is the syntax the same? ssh user@host:port/path/to/where/i/want/to/go

Secondly can I have SSH shortcuts on my desktop for file transfers..what about FTP?

Thanks a million,
DAn
QUOTE Thanks
Dysfunction

 
Dysfunction's Avatar
 
Member Since: Mar 17, 2008
Location: Tucson, AZ
Posts: 6,638
Dysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant future
Mac Specs: 2008 and 2011 15" mbps, late 11 iMac, iPhone 4s, and too many ipods and other stuff

Dysfunction is offline
ssh is exactly the same in BSD as it in in linux.

Sounds though like you're using scp for transfers?


now, I suppose you could put aliases on the desktop, I just create terminal aliases because I always have multiple terminal tabs opeb.. and if I'm doing the same transfer over and over and over I'll just use rsync

mike
This machine kills fascists
Got # ? phear the command line!
QUOTE Thanks
Big Dan

 
Big Dan's Avatar
 
Member Since: Feb 01, 2009
Location: New York
Posts: 95
Big Dan is on a distinguished road
Mac Specs: Mini 1.83Ghz Dual Core, 2 GB RAM, running 10.6.1

Big Dan is offline
Thanks Mike. I'm usually using SCP or SFTP for file transfers I like the drag and drop GUI for file transfers it's easy for me. I use terminal for SSH when I'm mucking around with backups, config changes and stuff like that. I'm fine with FileZilla for SFTP if need be.

One quick (related) question while I have someone fluent in CLI on the line here : Is there wget (or similar) in OS X? Lastly is there a man command?

Coming from a partial Linux background I think is going to give me an advantage over coming straight from Windows especially in the CLI aspect.
QUOTE Thanks
Dysfunction

 
Dysfunction's Avatar
 
Member Since: Mar 17, 2008
Location: Tucson, AZ
Posts: 6,638
Dysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant future
Mac Specs: 2008 and 2011 15" mbps, late 11 iMac, iPhone 4s, and too many ipods and other stuff

Dysfunction is offline
wget is not built into OS X, but you can install it

mikeMbp:test1 mike$ which wget
/usr/bin/wget

I just don't recall where I downloaded it from
man is a *nix standard, so it's definitely in OS X

mike
This machine kills fascists
Got # ? phear the command line!
QUOTE Thanks
Aptmunich

 
Aptmunich's Avatar
 
Member Since: Mar 09, 2004
Location: Munich
Posts: 9,075
Aptmunich has a brilliant futureAptmunich has a brilliant futureAptmunich has a brilliant futureAptmunich has a brilliant futureAptmunich has a brilliant futureAptmunich has a brilliant futureAptmunich has a brilliant futureAptmunich has a brilliant futureAptmunich has a brilliant futureAptmunich has a brilliant futureAptmunich has a brilliant future
Mac Specs: Aluminium Macbook 2.4 Ghz 4GB RAM, SSD 24" Samsung Display, iPhone 4, iPad 2

Aptmunich is offline
My advice: Just try stuff out. If you know your way around the terminal, you should feel right at home in Bash on OS X.
QUOTE Thanks
rsmithgi

 
Member Since: Jan 29, 2008
Posts: 101
rsmithgi will become famous soon enough

rsmithgi is offline
Quote:
Originally Posted by Big Dan View Post
Thanks Mike. I'm usually using SCP or SFTP for file transfers I like the drag and drop GUI for file transfers it's easy for me. I use terminal for SSH when I'm mucking around with backups, config changes and stuff like that. I'm fine with FileZilla for SFTP if need be.

One quick (related) question while I have someone fluent in CLI on the line here : Is there wget (or similar) in OS X? Lastly is there a man command?

Coming from a partial Linux background I think is going to give me an advantage over coming straight from Windows especially in the CLI aspect.
man exists and works as expected.

wget does not exist, but curl is provided and wget is available:

Paul Maunders | Web log A wget replacement for OS X Leopard
QUOTE Thanks
Dysfunction

 
Dysfunction's Avatar
 
Member Since: Mar 17, 2008
Location: Tucson, AZ
Posts: 6,638
Dysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant future
Mac Specs: 2008 and 2011 15" mbps, late 11 iMac, iPhone 4s, and too many ipods and other stuff

Dysfunction is offline
or you could actually install wget, it's small.


Installing wget on Mac OS X | Ionut's WebSpace

mike
This machine kills fascists
Got # ? phear the command line!
QUOTE Thanks
Big Dan

 
Big Dan's Avatar
 
Member Since: Feb 01, 2009
Location: New York
Posts: 95
Big Dan is on a distinguished road
Mac Specs: Mini 1.83Ghz Dual Core, 2 GB RAM, running 10.6.1

Big Dan is offline
Thank you very much all. Just got my mac am happily surfing around, I have a couple of questions about finder. See yous on the next thread.
QUOTE Thanks
walkerj

 
walkerj's Avatar
 
Member Since: Feb 13, 2005
Location: New Orleans, LA, USA
Posts: 1,186
walkerj is just really nicewalkerj is just really nicewalkerj is just really nicewalkerj is just really nice
Mac Specs: 13" Macbook Pro 2.26Ghz Unibody 4G RAM 160G HDD Superdrive

walkerj is offline
Sounds like you would probably benefit muchly from installing all the darwin ports. That way if there is something you find missing from OS X command line utilities you can bring it down and install it to do all sorts of useful things.

Make sure you have the Xcode (not installed by default, but comes with your OS X DVDs) installed, which gives you gcc so you can compile all the goodies.
QUOTE Thanks

Post Reply New Thread Subscribe


« USB Devices not connecting | power mac g4 hard drive problems! help! »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
will retail OSX tiger instal on iMac G4 without needing original OSX disk>? fishquail OS X - Operating System 2 02-28-2007 02:45 PM
OS9/X dual boot probs, OSX install probs willc0de4food OS X - Operating System 3 02-21-2007 12:42 PM
MS contingency to buy OSX mass licence Smartz Apple Rumors and Reports 16 03-28-2006 01:40 PM
SSh program for mac osx pinehead OS X - Apps and Games 6 06-17-2005 01:36 PM
Broken Disk Drive but Want to Upgrade to OSX...Impossible? mariamarchita OS X - Operating System 3 02-27-2005 01:52 PM

All times are GMT -4. The time now is 12:54 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?