Re: non interactive sftp?

From: Peter Pentchev (roam@ringlet.net)
Date: 04/17/03

  • Next message: SZE-HUN: "To limit the user"
    From: roam@ringlet.net (Peter Pentchev)
    Date: 16 Apr 2003 23:47:25 -0700
    
    

    colocoloc@yahoo.com (ColoC) wrote in message news:<96fc2618.0304160753.19ccd621@posting.google.com>...
    > roam@ringlet.net (Peter Pentchev) wrote in message news:<7d3fd083.0304160054.2015253@posting.google.com>...
    > > "spanda" <spanda@cisco.com> wrote in message news:<1050465873.902426@sj-nntpcache-3>...
    > > > Hi,
    > > >
    > > > How can I do a non-interactive file transfer through sftp?
    > > > i.e without using password autentication.
    > > >
    > > > ( As we use "ssh -i <key> " option for passwordless access to the remote
    > > > host )
    [snip]
    > >
    > > [roam@straylight:p3 ~]$ sftp -o 'IdentityFile /home/roam/.ssh/id-online' localhost
    > > Connecting to localhost...
    > > sftp>
    >
    > Please describe in detail where should I find (as most commonly put)
    > the 'IdentityFile /home/roam/.ssh/id-online' information? I mean maybe
    > my admin did not configure it well enough, I can't find the id
    > anywhere.

    The original poster mentioned "ssh -i <key>". Take a look at
    the ssh-keygen manual page, and at the answer to the 'How do I arrange
    to log in without typing a password or passphrase?' question in
    the FAQ at http://www.snailbook.com/faq/. The ~/.ssh/ directory is
    where OpenSSH keeps all its per-user configuration by default,
    including the keys, and ~/.ssh/id-online is simply my private key for
    logging into a certain set of machines.

    G'luck,
    Peter


  • Next message: SZE-HUN: "To limit the user"

    Relevant Pages

    • Re: Social Engineering
      ... first an admin is nominated from the company (pref. ... Folder security information. ... technology in it's execution. ...
      (Security-Basics)
    • Re: For the last six months
      ... a security procedure, tested my line and determined its capability ... Browser & the Default Admin UserName & PassWord. ... For a BT HomeHub, those are... ...
      (uk.people.silversurfers)
    • Re: Logitech Software
      ... <SNIP> ... he has now- that when he logs into his User account, ... Admin and then making myself a "User" profile. ... I keep up on my anti-malware updates, OS updates, and service packs. ...
      (microsoft.public.windowsxp.general)
    • Re: Privilege-escalation attacks on NT-based Windows are unfixable
      ... >> defensively against the Windows messaging exploit in question. ... > Sure it does -- just have Admin sign it's messages! ... That won't work if Admin has a window on the same desktop as JoeUser, ... then there is no way for it to protect its private key. ...
      (comp.security.misc)
    • Re: Privilege-escalation attacks on NT-based Windows are unfixable
      ... >> defensively against the Windows messaging exploit in question. ... > Sure it does -- just have Admin sign it's messages! ... That won't work if Admin has a window on the same desktop as JoeUser, ... then there is no way for it to protect its private key. ...
      (comp.os.ms-windows.nt.admin.security)