|
Search tenon.com
Thanks to:
|
|
iTools
>
> Now how do I get Dreamweaver to login sftp? Just kidding.
>
It's not SFTP per se, but the following is a method for getting ftp data to
be secure...
To use FTP over SSH set up a port forwarded 'tunnel' via SSH:
ssh -l usernameOnRemoteMachine xxx.xxx.xxx.xxx -L 10021:127.0.0.1:21
the xxx.xxx.xxx.xxx is a numerical IP. 127.0.0.1 indicates your localhost.
This command creates a 'tunnel' using SSH so that FTP communications are
encrypted. It makes data sent to 127.0.0.1:10021 (akin to localhost:10021)
travel out on port 22 over the net via SSH and then come into the remote
machine over port 22 then 'unpack' into port 21 on the remote host.
Your ftp client has to be able to specify a port to connect to because what
you will actually do is connect to your localhost on port 10021 (note the
port does not have to be 10021, i use it since it is easier to remember),
like so on the command line ftp porgram:
In another terminal window on the local machine, test it using the command
line. Remember, you are connecting to the localhost here, not the remote
host because actually connecting to the remote host is taken care of by the
SSH tunnel you set up in the previous step:
#ftp
ftp> open localhost 10021
Trying ::1...
ftp: connect to address ::1: Connection refused
Trying 127.0.0.1...
Connected to localhost.
220 ProFTPD 1.2.8 Server ready.
Name (localhost:localname): remoteFTPUserName
331 Password required for remoteFTPUserName.
Password: (type remoteFTPUserName's password here)
230 User remoteFTPUserName logged in.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp>
and you're in.
Don't know how dreamweaver handles connecting to localhost or if it can even
be told to use an FTP port other than 21, but it's worth a try!
See http://www.tacc.utexas.edu/resources/user_guides/ftp/ for some more
info.
YMMV,
dan
On 4/30/03 11:43 AM, "samtools@xxxxxxxx" <samtools@xxxxxxxx> wrote:
>> samtools,
>>
>> I use Transmit to do secure FTP (SFTP) and have not changed anything about
>> my iTools7 Mac OS 10.2.5 install. When I connect using SFTP, the Transmit
>> log tells me that the server is responding with OpenSSH FTP:
>>
>> "Remote server version: SSH-1.99-OpenSSH_3.4p1"
>>
>> Have you tried just connecting with an SFTP client to see what happens?
>
> Yes but I was deceived, Transmit just spun and spun. Turned out to be that
> sftp didn't like a character that was in the password ($). Beats me, same
> password works with ssh login.
>
> Now how do I get Dreamweaver to login sftp? Just kidding.
>
> Thanks
>
> ---------
> Tenon Intersystems' iTools Mailing List
> To unsubscribe: send mail to
> itools-request@xxxxxxxxxxxxxxx
> with the body only containing:
> unsubscribe
> Find the searchable mailing list archives
> at:
> http://itools.blackpepper.co.nz/
---------
Tenon Intersystems' iTools Mailing List
To unsubscribe: send mail to
itools-request@xxxxxxxxxxxxxxx
with the body only containing:
unsubscribe
Find the searchable mailing list archives
at:
http://itools.blackpepper.co.nz/
|
| Tenon Home |
Products |
Order |
Contact Us |
About Tenon |
Register |
Tech Support |
Resources |
Press Room |
Mailing Lists |
|
Copyright©2003 Tenon Intersystems, 232 Anacapa Street, Suite 2A, Santa Barbara,
CA 93101. All rights reserved.
Questions about our website - Contact:
webmaster@tenon.com.
|
|