Re: Can someone recommend an FTP server for Mac OS 10.5.6 that ...



In article
<4bdd20d9-38a4-4310-81ac-d17b828766a2@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
laredotornado <laredotornado@xxxxxxxxxxx> wrote:

I am able to run the "sftp@localhost" command from the command line so
I guess something was already set up. But my question is, I am logged
in as "dalvarado" but I want to be able to run "sftp j2ee-
test@localhost" without specifying a password. The only files in my
~/.ssh/ directory are

authorized_keys
id_rsa
known_hosts

Can you point me closer to the solution? Google doe not have a lot of
useful information when I type in "add to authorized_keys". Thanks ,-

You might consider configuring the server to require public/private keys
to connect rather than using password authentication, which is much more
secure. To do this:

1. On the host from which you will connect (the client):

# ssh-keygen -t dsa

Generating public/private dsa key pair.
Enter file in which to save the key (/Users/you/.ssh/id_dsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /Users/you/.ssh/id_dsa.
Your public key has been saved in /Users/you/.ssh/id_dsa.pub.
The key fingerprint is:
4a:26:a3:df:17:fd:72:3c:c3:37:84:3a:2f:e2:2e:32
you@xxxxxxxxxxxxxxxxxx

2. On the host to which you want to connect (the server):

a. Copy id_dsa.pub to ~/.ssh/authorized_keys.
b. Do a chmod 0600 ~/.ssh/authorized_keys.

c. Change these /etc/sshd_config properties:

Protocol 2
PermitRootLogin no
PubkeyAuthentication yes
PasswordAuthentication no
PermitEmptyPasswords no
ChallengeResponseAuthentication no

d. Restart the sshd service:

killall -HUP xinetd

-or-

cd /System/Library/LaunchDaemons
sudo launchctl unload ssh.plist; sudo launchctl load ssh.plist

Next time you connect from the client machine, you will have the
opportunity of storing the pass phrase in the keychain. After you store
it in the keychain, you will no longer be prompted on connect.

--
Send responses to the relevant news group rather than email to me.
E-mail sent to this address may be devoured by my very hungry SPAM
filter. Due to Google's refusal to prevent spammers from posting
messages through their servers, I often ignore posts from Google
Groups. Use a real news client if you want me to see your posts.

JR
.



Relevant Pages

  • Re: Newbie Question
    ... A WebForm ALWAYS posts back to itself. ... with client-side events handled on the server side. ... > an event on the client occurs that has a server-side event handler, ... > interface being returned to the client. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: RGP Access - A Comparison of the Options
    ... I recently signed up for the free text-only eternal-semptember.org server. ... I have only accessed the newsgroup directly via Outlook Express and Thunderbird. ... Other web options have evolved, but it should be understood that they only provide a portal to post and view the newsgroup posts, a shadow copy if you will. ... News server and client news reader - This is the traditional way to access newsgroups. ...
    (rec.games.pinball)
  • RE: Cannot instantiate COM+ application component
    ... I read the posts on this thread. ... Component called from a VB.NET client EXE located on a different machine. ... troubleshoot the COM+ Server Application. ... Microsoft Distributed Services ...
    (microsoft.public.dotnet.general)
  • Re: [SLE] Suse 9.3 + FreeNX no connection]
    ... >Ken Schneider ... Enter passphrase: ... Still get the same when I try to logon to the server with NX on the ... same as my logon for both the client and server. ...
    (SuSE)
  • WSE2 - Large DIME attachments failing
    ... I've seen several posts across the web regarding people having difficulties ... have set maxRequestLength (WSE) on both client and server to ...
    (microsoft.public.dotnet.framework.webservices.enhancements)