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 > Software - Troubleshooting and Discussion > Mac OS X > SSHFTP on a Mac?

SSHFTP on a Mac?
Thread Tools
Forum Regular
Join Date: Oct 2002
Status: Offline
Reply With Quote
Mar 18, 2004, 03:35 PM
 
Hello. I use SSHFTP to transfer files from my work pc to my Linux box at home and it connects fine. However on a Mac, I cannot connect. I only go as far as Connecting to Host...Starting Session and then I receive the error below:

Error listing directory "/Users/Joe".
Unexpected directory listing line "drwxr-xr-x 24 joe staff 816 7 Mar 18:41 .".
Operation aborted

When I hit okay, I connect but I cannot browse any of my remote folders. I am thinking it has something to do with permissions but I do not know what to set them too. I logged on port 22 and a user with full admin rights.

Any help is appreciated. Many thanks.
     
Mac Elite
Join Date: May 2001
Status: Offline
Reply With Quote
Mar 18, 2004, 05:11 PM
 
It is not 100% clear to me when you get this error, when you connect from the Mac to your Linux box?
Can you normally ssh to it or do you get any weird messages on connect perhaps? Can you use sftp?

It sounds rather it does not want that line at that moment or in a different format.

-
     
Forum Regular
Join Date: Oct 2002
Status: Offline
Reply With Quote
Mar 18, 2004, 05:18 PM
 
I have a problem connecting from my Windows box at work to my Mac using SSHFTP (for windows) on port 22. When I connect from from Windows box to my Linux box, I have no problem.

Is it sftp from the command line? No I haven't tried that. I turned on my ftp server on my iMac but I was having problems with it, that is why I want to try using ssh instead.



Originally posted by Moonray:
It is not 100% clear to me when you get this error, when you connect from the Mac to your Linux box?
Can you normally ssh to it or do you get any weird messages on connect perhaps? Can you use sftp?

It sounds rather it does not want that line at that moment or in a different format.

-
     
Forum Regular
Join Date: Oct 2002
Status: Offline
Reply With Quote
Mar 18, 2004, 05:18 PM
 
.
     
Mac Elite
Join Date: May 2001
Status: Offline
Reply With Quote
Mar 18, 2004, 09:41 PM
 
If you log in with your username and password there shouldn't arise a permissions problem. However, sftp would be the standard command line FTP-like client for file transfer over SSH. SFTP is not FTPS, FTP over SSL or over TLS. A SFTP client ("sftp") should come with all Unix (and OS X) installations and most likely there will be Window versions as well.

However you might first want to check the documentation of your SSHFTP if there are any ways to configure it so it works. Maybe it just does not like the "dot"-files or wants a different date format. There are alternatives like WinSCP or FileZilla you might want to try if you don't get it running. For any of the other mentioned FTP transfers, SmartFTP is a nice Winows FTP client.

-
     
   
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 09:11 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