Alcatel Carrier Internetworking Solutions omniswitch User Manual

Page of 260
Using Secure Shell
Logging Into the Switch
page 1-14
OmniSwitch 6600 Family Switch Management Guide
March 2005
After logging in, you will receive the sftp> prompt. You may enter a question mark (?) to view 
available Secure Shell FTP commands and their definitions as shown here. 
sftp>?
Available commands:
cd path                       Change remote directory to 'path'
lcd path                      Change local directory to 'path'
chmod mode path               Change permissions of file 'path' to 'mode'
help                          Display this help text
get remote-path [local-path]  Download file
lls [path]]                   Display local directory listing
ln oldpath newpath            Symlink remote file
lmkdir path                   Create local directory
lpwd                          Print local working directory
ls [path]                     Display remote directory listing
mkdir path                    Create remote directory
put local-path [remote-path]  Upload file
pwd                           Display remote working directory
exit                          Quit sftp
quit                          Quit sftp
rename oldpath newpath        Rename remote file
rmdir path                    Remove remote directory
rm path                       Delete remote file
symlink oldpath newpath       Symlink remote file
version                       Show SFTP version
?                             Synonym for help 
Note. Although Secure Shell FTP has commands similar to the industry standard FTP, the underlying 
protocol is different. See 
 for a Secure Shell FTP application exam-
ple.
Closing a Secure Shell FTP Session
To terminate the Secure Shell FTP session, issue the 
 command. The following will display:
-> exit
Connection to 11.333.30.135 closed.
This display indicates the Secure Shell FTP session with IP address 11.333.20.135 is closed. The user is 
now logged into the OmniSwitch as a local device with no active remote connection.