Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Enthusiast Zone > Networking > Is my ssh setup secure?

Is my ssh setup secure?
Thread Tools
Junior Member
Join Date: Jul 2001
Location: around
Status: Offline
Reply With Quote
Aug 4, 2003, 09:11 PM
 
I am a networking newbie. I need to access my files on my home mac from work and have remote login turned on and I use WinSCP to access files from work over SSH. It have my airport base station shuttling the port to the correct mac. It is working but . . .

Questions
1. Is there is a log of attempts to login remotely, so I can detect someone trying to hack his way in?
2. Is SMB networking secure? It would be nice to mount a drive from home on my work PC. I don't trust samba for no clear reason.
3. Is this is a secure set-up? Better ideas, anyone?

Thanks
ronald
     
Dedicated MacNNer
Join Date: Jul 2002
Location: Boston, MA
Status: Offline
Reply With Quote
Aug 7, 2003, 08:33 PM
 
SCP would be my first choice in that the authentication and data transfer will be ciphered. I've done some pen testing against sshd on 10.2.6 and have not found any known holes in the version that is used (I forget what version). I suppose you could use WebDAV over SSL with the built in Apache daemon for easy access from a browser, but I have not set this up before.

Do NOT use SMB.
(Last edited by kampl; Aug 7, 2003 at 08:45 PM. )
     
Dedicated MacNNer
Join Date: Jul 2002
Location: Boston, MA
Status: Offline
Reply With Quote
Aug 16, 2003, 09:03 PM
 
Access attempts, both failed and successful, can be found in /var/log/system.log. Forgot about that part of the question.

Open up a terminal and type grep sshd /var/log/system.log

That will give you time/date of attempt, what source address and what protocol version.
     
AirRon  (op)
Junior Member
Join Date: Jul 2001
Location: around
Status: Offline
Reply With Quote
Aug 16, 2003, 09:20 PM
 
Thanks!
     
Mac Elite
Join Date: Dec 2001
Location: Atlanta, GA, USA
Status: Offline
Reply With Quote
Aug 16, 2003, 09:27 PM
 
If you want to use SMB, you can do so. Just do it through an ssh tunnel. Firewall off port 139 and then forward it through ssh, easy as pie.
Mac Pro 2x 2.66 GHz Dual core, Apple TV 160GB, two Windows XP PCs
     
Dedicated MacNNer
Join Date: Jul 2002
Location: Boston, MA
Status: Offline
Reply With Quote
Aug 17, 2003, 12:12 AM
 
"Personal Websharing" over SSL might work for your purposes as well. I've been tinkering with it from time to time but have not got it the way I want in so far as authentication (not a fan of .htaccess files).

There is a good SSL tutorial for OS X at Apple Developer Connection

I was thinking using this and modifying /etc/httpd/users/username would work well and provide ciphered and authenticated access to a home directory through a web browser without having to mess around with the client device.

Anyone given this a shot and have it working well?
     
   
Thread Tools
Forum Links
Forum 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 On
Top
Privacy Policy
All times are GMT -5. The time now is 02:16 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2