[Cyberduck-trac] [Cyberduck] #2976: Send a Command (ssh)
Cyberduck
trac at trac.cyberduck.ch
Fri Feb 13 19:20:56 CET 2009
#2976: Send a Command (ssh)
-------------------------+--------------------------------------------------
Reporter: macmedix | Owner: dkocher
Type: enhancement | Status: assigned
Priority: low | Milestone: 3.1.3
Component: interface | Version: 3.1.1
Severity: minor | Keywords: ssh command sftp
-------------------------+--------------------------------------------------
Comment(by macmedix):
interesting! As a followup, I used Cyberduck to "send command..." and
entered "'''pwd'''" to learn that the path is not as expected!
I'm using DreamHost.com, a major hosting company.
When I login (ssh or FTP) I connect as my username, then cd into the
correct dir for that webs erver. What I see as the root (/) is not what
pwd sees as the root.
Where I think I am:[[BR]]
/domainname.com/[[BR]]
[[BR]]
Where FTP connections say I am:[[BR]]
/domainname.com/[[BR]]
[[BR]]
where Cyberduck says I am:[[BR]]
'''pwd'''[[BR]]
/home/.margara/macmedix[[BR]]
[[BR]]
Where SSH says I am:[[BR]]
'''[refresco]$ pwd'''[[BR]]
/home/macmedix/domainname.com[[BR]]
Interesting that the same question has 3 different answers. To try & run
the script from Cyberduck, I used the "Send Command..." to say:[[BR]]
'''pwd'''[[BR]]
/home/.margara/macmedix[[BR]]
'''cd domainname.com'''[[BR]]
'''pwd'''[[BR]]
/home/.margara/macmedix[[BR]]
'''cd ..'''[[BR]]
'''pwd'''[[BR]]
/home/.margara/macmedix[[BR]]
[[BR]]
So it appears that Cyberduck is not able to cd .. nor cd into a directory
from the "Send Command..." Perhaps this is a result of how this webhost
does things, but I can easily use Terminal or iTerm and SSH into the same
host to move around and run scripts. I also tried the same test on my own
OSX server, and it seems to me that CyberDuck was not able to "Send
Command..." to cd up or into any folder. I connected using CyberDuck via
SSH as root and was stuck in the root's home folder.
If it helps, I'm happy to give you a shell account on the web host so you
can see it yourself.
Thanks very much for your time and consideration! I really appreciate it!
:-)
Dave
--
Ticket URL: <http://trac.cyberduck.ch/ticket/2976#comment:2>
Cyberduck <http://cyberduck.ch>
FTP, SFTP, WebDAV and Amazon S3 Browser for Mac OS X.
More information about the Cyberduck-trac
mailing list