linux shell 客户端,Linux 文件传输客户端SSH Secure Shell Client

SSH (stands for "Secure Shell) is  the protocol the campus IT department wants you to use for  command-line (or shell) access to a campus Unix server.  (For those of you who know the term "telnet", SSH is a newer, more secure, replacement for it — when you login to a server, telnet transmits your password in the clear over any intervening network; SSH encrypts it.)   The SSH protocol is provided by a variety of freeware or commercial software products. IT has installed a commercial version on most (all?) public Windows machines in campus labs. An older, freeware version from the same vendor can be downloaded for installation at home, so you can work from home just as you work from on campus. Here's the download link for the freeware version.To use SSH client on campus, find the "SshClient.exe" executable somewhere (IT moves its shortcut around from time to time here on campus to keep us guessing, so I've given up trying to keep this web page up to date).

Regardless of whether you're working on or off campus, double-click on the SSH client to bring up a window that looks like so:

0818b9ca8b590ca3270a3433284dd417.png

If the dialog box, below, doesn't come up automatically, hit the Quick Connect button to the upper left there and you'll get a dialog box like so:

0818b9ca8b590ca3270a3433284dd417.png

Fill in the Host Name of the machine you want — sun, in this example — and your User Name (your Unix account name that you got from IT).  Note:

From on campus, you can actually just type in "sun" or "prclab" by itself (they're actually aliased to the same physical machine); only if you do this from off campus will you need sun's fully qualified domain name, or sun.pr.erau.edu, as shown in the figure, above.  On campus, all our machines are on a first name basis with each other ;-)

Port Number and Authentication Method you should just leave alone — the default values (shown) are correct.

Now click the Connect button in the dialog box, acknowledge any resulting security warning, then enter your Unix account password when asked, and you'll be in business.  The SSH  shell window will look something like so:

0818b9ca8b590ca3270a3433284dd417.png

If the machine you're trying to connect from has never conected to your intended destination before, you'll get another technojargon filled dialog box asking you about public keys and authentication and stuff like that; just keep clicking "yes" until you get connected and see the screen as shown above. (Lab machines get reset every night so they always require you do do this.)  Once you've connected to the Unix host, you have to type your Unix commands in via the keyboard. When using this SSH Secure Shell Client, you can't click or drag or do much else of interest inside the window with your mouse. The contents of the window are being provided by the shell on the Unix host and it won't know where your Microsoft Windows mouse/cursor is.

The Windows mouse will still work outside the SSH Secure Shell Client window and it can even select buttons, menus, and menu  items from the Windows menu bar and toolbars at the top of the window, but it won't do much interesting inside the window:   SSH Secure Shell Client provides only a simple-minded protocol; it only passes your keystrokes to Unix — the mouse/cursor coordinates are not part of the deal.  For that, you'd need a more elaborate protocol like Xwindows.

Anyway, you're now logged into the Unix host you selected and as can be seen in the figure above, Unix is showing you a command line prompt (followed  by a blinking cursor),  indicating that Unix is ready for you to type in commands to tell it what to do.(The '%' sign, the command line prompt, is also known as a shell prompt, Unix prompt, command prompt, and sometimes, just as a prompt.)

As you type in characters, Unix reads them from the keyboard and echoes them back on the command line display, moving the blinking cursor over to the right as it does so.  When you hit the "Enter" key on your keyboard, Unix treats the line of text you entered as a command and, if all goes well, probably does something that approximately resembles what you thought you meant to ask for, maybe. After executing your command and perhaps displaying all sorts of weird other stuff that the command tells it to, Unix then eventually displays a new  prompt on a new line and waits patiently for you to type and enter a new command.  That's why this is called the command line mode.

Check the operation of your "Backspace" or "Erase" key. If it doesn't erase the last character typed but instead displays something funny like ^H, you'll need to remap the key binding. (You shouldn't have any problem with the backspace key on campus machines, but if you install SSH on a personal machine, it's possible [although unlikely] that you may run into this problem.)

There's another tutorial section online here on the basic Unix commands that you'll need to start with, but you'll  need to know a little about  files first (since many important commands require a file name), so I've also included a section  on basic Unix file system concepts.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值