How to not be prompted for pwd when using sftp command

Hello -
I want to be able to run an sftp command in a shell script without being prompted for a password, but am not having success.
Here is my script:
sftp -oPort=34333 [email protected]
bye
exit
Any ideas are greatly appreciated!
Thanks!

From Local Computer (follow the prompts at each stage).
1. Login to the localcomputer as required user and generate a pair of authentication keys using keygen
ssh-keygen -t rsa
2. Login to the remotecomputer as required user and create the .ssh directory
ssh -l remoteuser remotecomputer mkdir -p .ssh
3. Copy the Local user public key to Remote User .ssh directory into authorized_keys file. And, type the password again for the last time
cat .ssh/id_rsa.pub | ssh -l remoteuser remotecomputer 'cat >> .ssh/authorized_keys'
4. Connect to the remotecomputer using ssh, sftp or scp . For ssh e.g.
ssh -l remoteuser remotecomputer
This might work, but you need to check it up to correct any mistakes I make with the commands because I am just typing it without testing

Similar Messages

  • Outlook prompts for credentials when used over DirectAccess

    Hello; I have recently setup a DirectAccess Server for our network.  The DirectAccess Server is running Windows Server 2012R2. It all appears to be running just fine. The clients are connecting fine and have access to all of our internal network resources,
    including the Exchange Server. 
    However, when using MS Outlook to connect to the internal Exchange Server, we are seeing a strange behavior.  The Outlook client initially connects just fine.  It says "CONNECTED TO: Microsoft Exchange" down in the status bar, and the
    user's mailbox gets updated just fine.  But then, after just a few minutes, MS Outlook will prompt the user for their credentials.  If the user enters their credentials, the pop up goes away, but then comes right back after another minute or two. 
    As far as I can tell, the DirectAccess connection is stable, as the user has uninterrupted access to our other internal resources.  I've verified the Outlook's connection to the Exchange is using RPC/TCP.
    Can anyone shed some light on to what is going on here and how I may resolve this issue?

    Hi,
    A simple assumption, would clearing the credentials from Windows Credential Manager work?
    1. Launch the Credential Manager (from [Control Panel] and [User Settings])
    2. In the Generic Credentials section you’ll see a setting for [MS Outlook]. Click the downward-pointing arrow to the right of that value
    3. The section will expand to show further details. Under those details is a link to Remove from vault. Click this and Outlook will no longer have a stored copy of your password
    The next time the users need to enter a password, select the option that let Outlook remember the credentials.
    Thanks,
    Melon Chen
    Forum Support
    Come back and mark the replies as answers if they help and unmark them if they provide no help.
    If you have any feedback on our support, please click
    here

  • How to disable the prompt for password when receiving a call on Lync mobile on iPhone

    We are doing a pilot on Lync 2013.  We have mobile phones: i Phones.
    When we are receiving a call, we are prompted to enter password to take the call, which in certain cases, might be a real irritant.  Is there a way to bypass, or simply removing this prompt?

    I am not aware of any password to receive calls (and certainly there's no option I am aware of within Lync mobility policy settings)
    Is this a phone password (i.e. such as the PIN code) or do you enter your AD password? 
    If it's the phone password then you can turn it off through Settings > Passcode, unless it set by company policy (i.e through ActiveSync policies in which case this is set through Exchange). Bear in mind that if it is your phone password then you'll have
    no security on your phone.
    If this helped you please click "Vote As Helpful" if it answered your question please click "Mark As Answer"
    Georg Thomas | Lync MVP
    Blog www.lynced.com.au | Twitter
    @georgathomas
    Lync Edge Port Check (Beta)

  • How to display  Columns  in Alphabatical  order when using DESC command

    Hello
    A table column is inserted not in alphabetic order during the table creation definition.
    So while describing the table definition (e.g. desc emp)
    it will not show in the same order as we are written during the table creation.
    Question: is there any utility/command/query which will display the columns in alphabatical order while describing it.
    Regards
    Nikhil Wani

    select column_name from user_tab_columns
    order by column_name;
    should do it.
    Sunil

  • How to make dyn/admin not to prompt for username and password?

    Hello all
    How to make dyn/admin not to prompt for username and password? I am writing a selenium job to automate cache invalidation to load test a production issue we are facing. Selenium is opening a fresh firefox session and prompting for username and password every time. I am also trying to modify my script such that it will use the same session again and not prompt for username and password. But I thought of asking this question in the group.
    Your inputs will help a lot.
    Thanks,
    Sundar

    Hi,
    You can set enabled property of /atg/dynamo/servlet/adminpipeline/AuthenticationServlet/ to false. It will not prompt for authentication.
    Gopi

  • Getting Prompt for Credentials When Opening InfoPath 2010 Form in Sharepoint 2010

    I have a domain user who runs Office 2010 x32 and uses a Sharepoint 2010 site daily. Lately a specific page on that site has been randomly giving prompts for credentials when opening existing documents and creating new ones. The process can be most easily
    replicated by opening the new document template in Infopath by going to Documents -> New in the ribbon bar of the SP page. Most of the time the Windows credentials for the user are passed to Infopath/Sharepoint automatically (which is normal), but on the
    fourth or fifth attempt to create a new form, the prompt appears. The user can still enter the credentials and open the blank template form, but a prompt should not appear. The user is also the administrator for that page, so I'm thinking it's not a permissions
    issue.
    The user is running IE 9 on Windows 7 Pro x64. I have performed the following:
    Reset advanced IE settings and all user cache data
    Cleared cached Sharepoint credentials in Windows credential manager
    Re-applied group policy for the machine using gpupdate /force
    Logged in with a clean temporary profile
    Logged in to another domain account using the user's Sharepoint credentials
    Cleared Infopath cache
    Re-installed Office 2010 x32
    The problem only occurs only on this particular machine. There are no Sharepoint or authentication-related errors or warnings in the application and system event logs. There are also no error messages on-screen when the prompt appears. I also considered
    the possibility of this being a performance related issue in the case that maybe Infopath was taking too long to start, causing the credential pass-through process to time out and fall back to a prompt. I ran disk cleanup, deleted some temporary files, and
    checked for excessive CPU/memory load. I didn't find any issues and doing these things did not help.
    I'm convinced there is another setting somewhere in Windows that is causing this. Interestingly it always happens after four or five attempts, never the first time. Can someone point me in the right direction?

    Hi Titan, this sounds like an IE security setting issue. Things to do:
    1. In Internet options>Security>Local Intranet, make sure "Enable Protected Mode" is not selected.
    2. Under Sites>Advanced, add https://*.sharepoint.com (and make sure "Require server verification..." is not checked).
    3. Under Security>Custom Level, scroll all the way to the bottom and make sure "Automatic logon with current user..." is checked.
    cameron rautmann

  • SAP R/3 -- Not getting prompted for password on Heterogeneous Sys. Copy

    Thank you in advance.  I am part of a project team that is testing the potential of moving from UNIX (AIX 5.3) to Linux (RHEL 4 or 5).  We are running SAP R/3 on IBM P570 with DB2 v9.1 and when we run this program:  Installation master sapinst
    We are not getting prompted for the user password but when we run the same cd on a different system we get prompted for the user's password.  Can anyone point me in the right direction on what is wrong?  If you need more info let me know.
    Thanks,
    Erik

    @ Sven & Markus
    Well I have checked all the logs and there are no errors.  What I have found out is that it successfully runs but there is 0 ouput, in essence it isn't exporting any data.
    Here it shows that it completed successfully but in the export directory there isn't data when there should be.
    INFO       2009-10-08 17:34:19.270 [sixxcstepexecute.cpp:544]
    The installation of component Execution of Service SAP ERP 6.0 Support Release 3 > Software Life-Cycle Options > System Copy
    > IBM DB2 for Linux, UNIX, and Windows > Source System Export > Central System > Based on AS ABAP > Database Instance Export has been completed successfully  has been completed successfully.
    See here:
    /dev/exportlv    119.25    119.23    1%       16     1% /export
    Thanks,
    Erik

  • Crystal Reports prompting for creds when viewed from BO 4

    The environment:
    Business Objects Enterprise 4, sp2 patch 8
    SAP ECC 6.0, kernel 701, sup. pkg. lvl 137
    This is a new BOE 4 installation on a test system.  The BOE installation has been configured to use Windows AD authentication with SSO.  When I run a Crystal Report that is based on SAP ECC data, I am prompted for credentials.  So I used the following document to configure BOE for SSO to DB:
    http://wiki.sdn.sap.com/wiki/display/BOBJ/HowtosetupSSOagainstSAPBWinSBOBI4.0forLDAPusers
    This didn't fix the problem.  SAP ECC reports in BOE still prompt for creds when viewed.  SAP Authentication is verifiably working, but I'm not sure if SSO to DB is working.  One thing I've noticed is that when I log in to BOE using SAP authentication and view the report, I'm not prompted for creds.  In BOE I added my Windows AD acct as an alias in my SAP acct, but I may have either done this incorrectly, or there may be something I need to do in addition.
    question 1:  Is there an easy way to verify if SSO to DB is working correctly?
    question 2:  In CMC --> Authentication --> SAP --> Entitlement Systems --> User Name, I'm assuming that this is an SAP user name.  What roles/profiles does this account need?  Should it be a dialog acct?
    question 3:  Our ECC system is configured to use SNC.  Do I need to configure SNC in BOE for SSO to DB to work?
    question 4:  I added my Windows AD user as an alias on my SAP user record.  I'm not sure this is correct...  can someone verify?
    Any help or suggestions are much appreciated.

    Thanks, Ingo.  Once I got snc configured, everything began working wonderfully.
    I used this document as a guide:
    https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/sno/ui_entry/entry.htm?param=69765F6D6F64653D3030312669765F7361706E6F7465735F6E756D6265723D3134343630363726

  • SharePoint prompting for password when saving word document

    Saving a word document back to SharePoint always prompts for credentials.
    I am the administrator for a SharePoint farm. We have enabled kerberos, and added the portal to the intranet zone in Internet Explorer by group policy. Most of the time this limits the amount of password prompts our customers see (including viewing the portal
    in a browser, and opening documents); however, we are still getting the prompt for credentials when trying to save a word document back to SharePoint.
    Here are some details: - SharePoint 2010 - Word 2010 - Kerberos enabled - Portal added to intranet zone in IE - Checkbox for passing automatic credentials enabled
    Can anyone help? Is there something I've missed? Is this prompt just unavoidable?

    Hi,
    Internet Explorer uses the Web Client service when you use Internet Explorer to access a
    WebDAV resource. The Web Client Service uses Windows HTTP Services (WinHTTP) to perform the network I/O to the remote host.  WinHTTP sends user credentials only in response to requests that occur on a local intranet site. 
    However, WinHTTP does not check the security zone
    settings in Internet Explorer to determine whether a Web site is in a zone that lets credentials be sent automatically.
    Click Start, type regedit in the Start Search box, and then press
    ENTER.
    Locate and then click the following registry subkey:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WebClient\Parameters
    On the Edit menu, point to New, and then click
    Multi-String Value.
    Type AuthForwardServerList, and then press ENTER.
    On the Edit menu, click Modify.
    In the Value data box, type the URL of the server that hosts the Web share, and then click
    OK.
    Note   You can also type a list of URLs in the
    Value data box. For more information, see the "Sample URL list" section in this article.
    Exit Registry Editor.
    After this registry entry is created, the WebClient service will read the entry value. If the client computer tries to access a URL that matches any of the expressions in the list,   the user credential will be sent successfully to authenticate
    the user, even if no proxy is configured.
    Note You have to  restart the WebClient service after you modify the registry.
    Reference: http://support.microsoft.com/kb/943280?wa=wsignin1.0
    -Ivan
    Ivan Sanders My LinkedIn Profile,
    My Blog,
    @iasanders.

  • Outlook 2010 prompts for profile when 3rd party application tries to send mail

    Hi,
    I have been having an issue with Outlook 2010 and our in-house MIS system. The system uses Outlook to send mail out, and it works perfectly fine if Outlook is running at the time.
    There is a problem though when Outlook is not running and the programs calls Outlook to send the mail, Outlook will display the "Choose Profile" dialog. Outlook basically launches in the background with the little gear icon in the system tray.
    Is there any way to get rid of the select profile screen? Everything is already selected appropriately under Control Panel>Mail, Outlook does not prompt for profile when launched normally.
    Thanks

    It all depends on the code you are using to initiate Outlook.
    It might be better to ask this in the developer forum down the hall:
    http://social.msdn.microsoft.com/Forums/en-US/outlookdev/threads
    Don't forget to post your sample code.
    Robert Sparnaaij
    [MVP-Outlook]
    Outlook guides and more: HowTo-Outlook.com
    Outlook Quick Tips: MSOutlook.info

  • How can I purchase items for app when the app was loaded on another ID before? I has to Chang my AppleID and also transferred an app to new phone. I can't purchase items for app because it wants me to buy the app through new ID. The app was free.

    How can I purchase items for app when the app was loaded on another ID before? I has to Chang my AppleID and also transferred an app to new phone. I can't purchase items for app because it wants me to buy the app through new ID. The app was free.

    All apps (and other content from the store) are tied to the account that downloaded them, whether or not they are free. To do in-app purchases in that app you will either need to log in with the account that downloaded it, or delete it (which will delete its content) and download it with your currently logged in account if you want to do IAPs on that account.

  • STSNavigate() still prompting for credentials when trying to open a document

    Here is my scenario. We have setup a public facing site the utilizes a Web Application that searches a internal SharePoint 2010 site. The web app utilizes the SharePoint QueryService to search the site. We provide credentials to the service as the SharePoint
    site is not an anonymous site (although if the QueryService worked with the site being anonymous that would satisfy our requirements). The Web server allows anonymous access to the web app through IIS. I have found that utilizing the STSNavigate() function
    SUPPOSED to allow the document to be downloaded or opened without prompting for credentials. I modified my search results link to include the function on click and low and behold it still prompts for credentials the same way it would if the url just had the
    link to the file. I am on a time clock here and I am running to the end of my rope. Any suggestions?

    Hi,
    According to your post, my understanding is that STSNavigate() still prompt for credentials when trying to open a document.
    Per my knowledge, if you try to open an Office file directly from a remote place, Office wants to know who the hell you are. If the server responses with the
    Microsoft Office Protocol Discovery or a
    FrontPage Protocol or a
    WebDav Protocol
    Then  it ask you for  credentials.
    As a workaround, I recommend to  “init.js” located in \Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS\1033 folder.
    You need to add this it:
    STSNavigate(ctx.HttpRoot + "/_layouts/download.aspx?SourceUrl=" + o);return false;
    For more information, you can refer to:
    SharePoint login prompt when accessing files in a Document Library Solution
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • I have a g4 running os10.4.11, i bought a epson workforce 1100 and tried to set it up but there is not a listing for it when i try to add it before installing the driver software from the supplied cd...anyone know what i can do to get it set up?

    i have a g4 running os10.4.11, i bought a epson workforce 1100 and tried to set it up but there is not a listing for it when i try to add it before installing the driver software from the supplied cd...anyone know what i can do to get it set up?

    Load the drivers and you should then be able to add it in Print Center.

  • How can I put validation for JTextField when gotfocus and lostfocus

    Hi,
    How can I put validation for JTextField when gotfocus and lostfocus ?
    Thanks
    Wilson

    You add a focusListener to the control you wish to monitor. In the focusLost() handler you do whatever, in the focusGained() handler you do whatever.

  • How to not allowed people to see when am writing

    how to not allowed people to see when am writing in my iphone

    The "bubbles" appear on the receiver's screen when you are sending an iMessage.  If you don't want the receiver to see the bubbles:
    Settings > Message > iMessage = "Off"
    Then your messages will be sent as SMS text messages (without "bubbles").
    I cannot imagine why anyone would want to do this ...

Maybe you are looking for

  • How do I reset my iTunes library without losing the data?

    Many of the songs are duplicated and/or iTunes cannot play because the location is missing. I want to create a new library to correct but do not want to delete the actual music files.

  • Zoom!!!

    Please, is there any plugin or tutorial that can allow me to zoom in and out of my footage, I've been looking around for stuff to help but I can't find anything on the subject- I realize you can zoom into footage at a fixed point but thats not quite

  • Mac Pro and the Amiga

    Hello Having endlessly bored a friend about the good old days with the Commodore Amiga he has trounced me by introducing me to the Commodore OS. Practically all the Commodore Forum topics are based on either Windows or Ubuntu. So has anyone delved in

  • Folder action - open file in quicktime

    I'm trying to do something I think should be simple, but I can't seem to make it happen. I get voicemails as .wav files in email. I'd like to save these to a folder, and have them automatically open up with quicktime player. I've verified that I've g

  • Mavericks Preemption (Force Quit Broken)

    Does anyone know how I can configure Mavericks to remain interactive even under high memory pressure?  (Don't care about maximizing benchmarks; care about always being able to move the mouse and force quit a runaway process). Unlike previous verison