SSH Secure Shell 使用:

来源:互联网 发布:mac更改开机启动项 编辑:程序博客网 时间:2024/05/22 03:49

SSH Secure Shell 使用:

上传文件:

1登录服务器:
点击 Quick Connect 按钮,然后输入用户名、密码、port,之后点击Connect
然后输入Password,然后点击OK就行了。在/root所在的下拉列表里面输入文件夹地址,然后点击Enter键。之后就可以把你要上传的文件或者文件夹直接的拖进此文件夹就行了。
 
 
删除文件夹:
点击

点击SSH Secure Shell的工具栏的第6个按钮(一个电脑上面有蓝色的两个点)然

 

Last login: Wed May 16 14:00:33 2012 from 192.168.0.116

[[root@ipits64 ~]# cd /iops/soft/tomcat/webapps    注释:这个地方是你要删除的文件夹的父文件夹,这个时候当前文件夹下的所有文件夹都会被列出来

[root@ipits64 webapps]# ll

总计 25288

drwxr-xr-x 11 root root     4096 2010-10-29 1IP-ITS

drwxr-xr-x 10 root root     4096 2011-10-20 2IP-ITS

drwxr-xr-x 26 root root     4096 2010-08-19 ARMS

drwxr-xr-x 10 root root     4096 2010-07-01 docs

drwxr-xr-x  5 root root     4096 2010-07-01 examples

drwxr-xr-x  5 root root     4096 2010-07-01 host-manager

drwxr-xr-x 10 root root     4096 2011-10-20 IP-ITS

-rw-r--r--  1 root root 25813179 2011-09-04 IPITS.tar.gz

drwxr-xr-x  5 root root     4096 2010-07-01 manager

drwxr-xr-x  3 root root     4096 2010-07-01 ROOT

drwxr-xr-x  7 root root     4096 05-16 15:40 SMSCenter

drwxr-xr-x  4 root root     4096 2010-10-14 xfire

 

 然后输入:rm -rf 加上你要删除的文件夹的名称

[root@ipits64 webapps]# rm -rf SMSCenter

然后输入ll就ok了

[root@ipits64 webapps]# ll

总计 25284

drwxr-xr-x 11 root root     4096 2010-10-29 1IP-ITS

drwxr-xr-x 10 root root     4096 2011-10-20 2IP-ITS

drwxr-xr-x 26 root root     4096 2010-08-19 ARMS

drwxr-xr-x 10 root root     4096 2010-07-01 docs

drwxr-xr-x  5 root root     4096 2010-07-01 examples

drwxr-xr-x  5 root root     4096 2010-07-01 host-manager

drwxr-xr-x 10 root root     4096 2011-10-20 IP-ITS

-rw-r--r--  1 root root 25813179 2011-09-04 IPITS.tar.gz

drwxr-xr-x  5 root root     4096 2010-07-01 manager

drwxr-xr-x  3 root root     4096 2010-07-01 ROOT

drwxr-xr-x  4 root root     4096 2010-10-14 xfire

[root@ipits64 webapps]#