[j-nsp] SFTP on junos 9.0 routers

Phil Shafer phil at juniper.net
Wed Mar 2 10:34:09 EST 2011


meryem Z writes:
>Is secure ftp supported on juniper m-series routers running junos OS 9.0 ? what are alte
>rnatives to secure ftp tranfers ?

scp is the main secure path.  You can scp to and from routers.  In the CLI,
the file syntax includes the scp-style '[user@]host:[path]' syntax, and
various file-related commands (e.g. "file copy", "save" or "load" commands,
as well as the "save" pipe) can be used to scp files:

[edit groups my-example]
user at cli# save user at cli:my.config    
The authenticity of host 'cli (10.0.0.7)' can't be established.
RSA key fingerprint is 8a:3d:84:cc:50:bf:6f:14:78:f6:c1:ec:7a:ca:f0:48.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'cli,10.0.0.7' (RSA) to the list of known hosts.
tempfile                                                100%  291     0.3KB/s   00:00    
Wrote 14 lines of configuration to 'user at cli:my.config'

[edit groups my-example]
user at cli# run file copy user at cli:my.config /tmp/       
my.config                                               100%  291     0.3KB/s   00:00    

[edit groups my-example]
user at cli# 

Thanks,
 Phil


More information about the juniper-nsp mailing list