Mac OS X SCP (GUI)
From Luke Jackson
Revision as of 13:25, 16 October 2006 (edit) Ljackson (Talk | contribs) (→Install SSH-Agent) ← Previous diff |
Current revision (21:27, 11 November 2006) (edit) Ljackson (Talk | contribs) (→Requirements) |
||
Line 3: | Line 3: | ||
There is no built-in Graphical User Interface (GUI) client for '''scp''' on Mac OS X. | There is no built-in Graphical User Interface (GUI) client for '''scp''' on Mac OS X. | ||
- | There for this tutorial demonstrates how to configure your Mac for GUI based '''scp'''. | + | There for this tutorial describes how to configure your Mac for GUI based '''scp'''. |
== Requirements == | == Requirements == | ||
- | # Mac OS X 10.4.X+ | + | * Mac OS X |
- | # Built-in Terminal Application | + | * Fugu GUI SCP Client - [http://rsug.itd.umich.edu/software/fugu/ Download] |
- | # SSH-Agent GUI Client - [http://www.phil.uu.nl/~xges/ssh/ Download] | + | |
- | # Fugu GUI SCP Client - [http://rsug.itd.umich.edu/software/fugu/ Download] | + | |
- | == Configuration == | + | == Install Fugu == |
- | Please follow the steps below. | + | Installing .DMG Applications on Mac OS X is very simple. Simply drag the icon from the .DMG image window into your Applications folder and you are done. |
- | === Generate Key-Pair === | + | == Connecting == |
- | You must create a key-pair in order to access the server. | + | [[Image:fugu_connect_info.png|frame|right|Fugu Screenshot]] |
- | You can do this via the Terminal Application that is found under Applications => Utilities (Programme => Dienstprogramme). | + | |
- | Once you start the Terminal you should see a prompt similar to the one below: | + | Once you have installed Fugu simply enter the information into the fields provided. |
- | ljackson-PowerBook:~ ljackson$ | + | * '''Connect''': Server Address |
+ | * '''User Name''': Login ID | ||
+ | * '''Port''': SCP port number (Default port 22) | ||
+ | * '''Directory''': Starting directory (Optional) | ||
- | The important data is directly after the : '''~''' this is your working directory and this will change depending on you current location on the disk. | + | After you click connect Fugu will attempt to authenticate with the server based on the servers installed mechanisms. This simply means that if you are not using [[Public Key Authentication]] it will fall back to password authentication and prompt you for your password. |
- | So now we will test to see if the folder '''.ssh''' exists on your system: | + | == Public Key Authentication == |
- | cd .ssh | + | If you have many different servers that you have to connect to on a daily basis it may be more effective for you to use [[Public Key Authentication]]. With this feature enabled you are able to securely authenticate to servers with out typing in a password. Unfortunately in order to use it you will have to configure you server and client to support it. |
- | If you receive a response like below you will have to create the folder with the command below. If your working path has changed to '''~/.ssh''' then the folder already exists and you can continue with the next step. | + | [[Category:Mac OS X]] |
- | + | ||
- | -bash: cd: .ssh: No such file or directory | + | |
- | + | ||
- | mkdir .ssh | + | |
- | cd .ssh | + | |
- | + | ||
- | If your prompt now reads '''~/.ssh''' you are ready to create your key-pair. | + | |
- | + | ||
- | Type the command below replacing <prefix> with your login to start the '''ssh-keygen''' script: | + | |
- | + | ||
- | ssh-keygen -f spreadshirt.<prefix> -t dsa -b 1024 | + | |
- | + | ||
- | You will be prompted to enter a passphrase '''THIS IS IMPORTANT!!!''' If you forget your passphrase the key pair is lost forever please choose a passphrase you will not forget! | + | |
- | + | ||
- | <pre> | + | |
- | Generating public/private dsa key pair. | + | |
- | Enter passphrase (empty for no passphrase): *********** | + | |
- | Enter same passphrase again: *********** | + | |
- | Your identification has been saved in spreadshirt.lja. | + | |
- | Your public key has been saved in spreadshirt.lja.pub. | + | |
- | The key fingerprint is: | + | |
- | ec:d9:9e:a0:ae:19:f3:96:f1:c4:f8:a0:ef:e0:34:84 ljackson@ljackson-PowerBook.local | + | |
- | </pre> | + | |
- | + | ||
- | You should now have 2 files in your '''~/.ssh''' directory: | + | |
- | + | ||
- | * spreadshirt.<prefix> - Private Key | + | |
- | * spreadshirt.<prefix>.pub - Public Key | + | |
- | + | ||
- | You can move the public key file into your user directory as it will need to be eMailed to IT. | + | |
- | + | ||
- | Do so with the command below: | + | |
- | + | ||
- | mv spreadshirt.<prefix> ../ | + | |
- | + | ||
- | === Install SSH-Agent === | + | |
- | + | ||
- | [[Image:Ssh agent dock.png|frame|right|SSH-Agent Screenshot]] | + | |
- | + | ||
- | Install the SSH-Agent you downloaded from the requirements section. | + | |
- | + | ||
- | You will have to launch the application and configure some settings before it is ready for use. Click on '''View''' from the menu and select '''Show SSH Identities'''. Find you identity file spreadshirt.<prefix> and ensure '''Default''' is checked. Next select '''SSH Agent''' from the menu and choose '''Preferences'''. Ensure that '''Activate Default Identities''' is enabled when launched. Close SSH-Agent. | + | |
- | + | ||
- | It may be useful to have on the dock, this way you can easily activate keys by simply clicking once and entering your passphrase. | + |
Current revision
Contents |
Summary
There is no built-in Graphical User Interface (GUI) client for scp on Mac OS X.
There for this tutorial describes how to configure your Mac for GUI based scp.
Requirements
- Mac OS X
- Fugu GUI SCP Client - Download
Install Fugu
Installing .DMG Applications on Mac OS X is very simple. Simply drag the icon from the .DMG image window into your Applications folder and you are done.
Connecting
Once you have installed Fugu simply enter the information into the fields provided.
- Connect: Server Address
- User Name: Login ID
- Port: SCP port number (Default port 22)
- Directory: Starting directory (Optional)
After you click connect Fugu will attempt to authenticate with the server based on the servers installed mechanisms. This simply means that if you are not using Public Key Authentication it will fall back to password authentication and prompt you for your password.
Public Key Authentication
If you have many different servers that you have to connect to on a daily basis it may be more effective for you to use Public Key Authentication. With this feature enabled you are able to securely authenticate to servers with out typing in a password. Unfortunately in order to use it you will have to configure you server and client to support it.