Using ssh without being asked for a password.

Hey all,
I need to access a new network which is now protected by firewalls. These firewalls will disconnect sessions that are idle for over an hour, this is a problem for a lot of Sun protocols that don't use keepalives (another Sun only idea!!!) such as 'rlogin', 'rsh', 'telnet' etc.
I need to use a protocol such as 'ssh' or equivalent which uses keepalives to remote login to systems inside the protected network to overcome the firewall dropping the sessions. The systems inside this network are all on Solaris 8.
The thing is that I need to overcome 'ssh' requirement for password authentication, as the users are clicking on a menu application that automatically does a rsh and starts the application without prompting the user for any information (I know you should use ssh with authentication, but in this case I cannot use it). Has anyone been able to configure 'ssh' on a system wide basis for all users to not ask for a password, and use standard NIS authentication with the hosts.equiv instead.
I have found plenty of example of how to do this in Linux, but since Sun have decided not to implement ssh in the standard way like every other UNIX vendor and to use wrappers, none of those examples will work on Solaris.
If someone has found a way of overcoming the keepalive issue with rlogin, rsh etc. I'd be really interested in knowing the hack done to get it working, as I would prefer to avoid installing anything on those systems in the new network.
Thanks for reading,
Mick.

You could probably try re-installing SSH using the standard OpenSSH source, not the ones provided by sun.
More of a pain, as you have to install on all the machines, but it would allow you to do as you said.
It might also be possible to use a midleman linux machine to do it, but not sure how you would go about doing it that way.
Not a solution, but some pointers. Hopefully, it helps.

Similar Messages

  • I can't get into my mail without being asked for my password and its stored in keychain and not having trouble on any other device except my macbook

    I have been having trouble signing on for several days to my email accounts. Everytime it asks for my password and the keychain box pops up. I retype it and it returns. I even went under mail preferences and changed it and it will not let me on. I have an iPad and an iPhone and can access it that way (so I know the password is correct) but not on macbook. Any help would be appreciated.

    David:
    Welcome to Apple Discussions.
    +I set up an access code to the hard drive in order block the other user's access...+
    Can you explain exactly what you did? That may help explain your situation.
    When you try to boot normally, explain exactly what happens.
    Have you tried starting up in Safe Mode?
    Please post back with updated information.
    Good luck.
    cornelius

  • I want to install an updated version of adobe flash player.  I am being asked for my password which I have forgotten.  What is the best way to reset my password on my macbook pro?

    I want to install an updated version of adobe flash player.  I am being asked for my password which I have forgotten.  What is the best way to reset my password on my macbook pro?

    Thanks for your response.
    When using the second option as I have forgotten my password...how do I get into the boot mode?

  • I've just upgraded to iPhone 4S and restored data from my old iPhone through iTunes.  I'm being asked for a password to get into my phone and the old password I had doesn't work.  I don't know what password it's looking for

    I've just upgraded to iPhone 4S and restored data from my old iPhone through iTunes.  I'm being asked for a password to get into my phone and the old password I had doesn't work.  I don't know what password it's looking for

    Thanks for replying, I'm a real techno-cretin.  What do you mean by not using the backup?  I'm busy trying to restore my new phone and it's doing a 6 hour download with updates.  Can I restore the data from my old phone backup onto the new iPhone 4S when the download is done?

  • I can no longer buy, download, or update apps/iTunes without being asked for apple ID and billing information to be declined

    I can no longer buy, download, or update apps/iTunes without being asked for apple ID and billing information. Even if apps are free or updating I'm asked for billing information. It's been like this for a couple of weeks after the purchase of a movie off iTunes and the purchase was successful but afterwards my App Store and iTunes stopped working properly. Help me please, thanks.

    Go here:
    https://expresslane.apple.com/Issues.action
    Ask for assistance.

  • I had a 'dead' iMac repaired and it needed a new HDD & graphics card, the repairer installed OSX 10.6.8 and i now need to install other software but I am being asked for 'User' password so I may do this, I've no idea what this will be.  Help please.

    I had a 'dead' iMac repaired and it needed a new HDD and graphics card, the repairer installed OSX 10.6.8 and i now need to install other software but I am being asked for 'User' password so I may do this, I have no idea what this will be.  can anybody help please?
    <Personal Information Edited by Host>

    On looking at the secure.log on the iMac with OSX10.6.8, I see these entries at each attempt to scp into the iMac:
    Dec 29 11:06:20 molika sshd[7248]: in pam_sm_authenticate(): Failed to determine Kerberos principal name.
    Dec 29 11:06:26 molika sshd[7246]: Accepted keyboard-interactive/pam for prowat from 137.110.243.132 port 35571 ssh2
    Dec 29 11:06:26 molika com.apple.SecurityServer[26]: Session 0x236a14 created
    Dec 29 11:06:26 molika com.apple.SecurityServer[26]: Session 0x236a14 attributes 0x20
    Dec 29 11:06:27 molika com.apple.SecurityServer[26]: Session 0x236a14 dead
    Dec 29 11:06:27 molika com.apple.SecurityServer[26]: Killing auth hosts
    Dec 29 11:06:27 molika com.apple.SecurityServer[26]: Session 0x236a14 destroyed
    I don't know what to make of this.
    Peter R

  • I am no longer being asked for a password when downloading an app, big problem with kids

    I am no longer being asked for a password when downloading an app or music in iTunes, big problem with kids. How do I enable

    To elaborate further, in those restrictions you can specify exactly what types of actions you would like to restrict.
    I think you'll find this accomplishes your objective.

  • HT5631 How do I turn off being asked for my password EVERY time I want to download an app?

    How do I turn off being asked for my password EVERY time I download an App on the app store?  When I go to the security page on "Manage my Apple ID" it only has a link to set-up two step verification...not disable it.

    You can't.

  • HT1349 I am being asked for a password on my exchange account -- what is that and how do I find out the password?

    I am being asked for a password on my exchange account -- what is that and how do I find out the password?

    That is your mail account (or one of them anyway) and you need to get it from your Exchange administrator.

  • I have just synced my iPhone to a new mac, however i have lost all photos plus my work emails, certificates etc. I am being asked for a password to restore settings but cannot remember this - can i get a password hint. Or any other ideas what i can do

    I have just synced my work iphone to my new mac and have lost photos, work email etc I am being asked for a password for mu iphone backup, however cannot remember this and cannot seem to get a hint - can anyone help please. I had not previously synced this phone with another computer

    Hi Bob
    Thanks for the input.  Interesting that it ran on my computer for a 
    while (about 2 days) before it first started bleating.  I suppose if I 
    had to upgrade, it would be to the Mac version.  Everything else I 
    have tried on Parallels works, even Steinberg's Wavelab, which I 
    thought would be an impossibility.
    I shall persevere.  I am just appalled at the level of support that 
    Adobe provides, plus the fact that their website just plain doesn't 
    work.
    Greg

  • I am being asked for the password for my btinternet account however when I supply it I get a message saying there is an error in the internet accounts preference pane

    I am being asked for the password for my btinternet account however when I enter it I get a message saying there is an error in the internet accounts preference pane. How can I resolve this?

    BT have made some changes to their email services recently (http://bt.custhelp.com/app/answers/detail/a_id/44789/) so you may be having problems because of this. I was certainly having problems, although I don't think that they were exactly the same as yours, and resolved it by creating a new account called something new. If you haven't deleted any mail from the BT webmail, when you create a new account on your Mac, it will mirror everything on webmail as it is an IMAP account. Once you are happy that the new account is working properly and that you haven't lost any messages, you can delete the old account.

  • I am being asked for my password every time I delete an item, but nothing is going into my trash can. Can this be resolved please?

    Every time I delete something I am asked for my password, which is very annoying.  The deleted items are no longer going into my trash can, but are completely wiped from my computer!!  Is it possible for a non-computer literate everyday user to re instate the trash can to its original function?

    Back up all data. Don't continue unless you're sure you can restore from a backup, even if you're unable to log in.
    This procedure will unlock all your user files (not system files) and reset their ownership and access-control lists to the default. If you've set special values for those attributes on any of your files, they will be reverted. In that case, either stop here, or be prepared to recreate the settings if necessary. Do so only after verifying that those settings didn't cause the problem. If none of this is meaningful to you, you don't need to worry about it.
    Step 1
    If you have more than one user account, and the one in question is not an administrator account, then temporarily promote it to administrator status in the Users & Groups preference pane. To do that, unlock the preference pane using the credentials of an administrator, check the box marked Allow user to administer this computer, then reboot. You can demote the problem account back to standard status when this step has been completed.
    Triple-click the following line on this page to select it. Copy the selected text to the Clipboard (command-C):
    { sudo chflags -R nouchg,nouappnd ~ $TMPDIR.. ; sudo chown -R $UID:staff ~ $_ ; sudo chmod -R u+rwX ~ $_ ; chmod -R -N ~ $_ ; } 2> /dev/null
    Launch the Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window (command-V). You'll be prompted for your login password. Nothing will be displayed when you type it. You may get a one-time warning to be careful. If you don’t have a login password, you’ll need to set one before you can run the command. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.
    The command will take a noticeable amount of time to run. Wait for a new line ending in a dollar sign (“$”) to appear, then quit Terminal.
    Step 2 (optional)
    Take this step only if you have trouble with Step 1 or if it doesn't solve the problem.
    Boot into Recovery. When the OS X Utilities screen appears, select
    Utilities ▹ Terminal
    from the menu bar. A Terminal window will open.
    In the Terminal window, type this:
    res
    Press the tab key. The partial command you typed will automatically be completed to this:
    resetpassword
    Press return. A Reset Password window will open. You’re not  going to reset a password.
    Select your boot volume ("Macintosh HD," unless you gave it a different name) if not already selected.
    Select your username from the menu labeled Select the user account if not already selected.
    Under Reset Home Directory Permissions and ACLs, click the Reset button.
    Select
     ▹ Restart
    from the menu bar.

  • Can't create a folder without being asked for a login password.

    I'm running 10.9.5 on an iMac. When I try to create a folder I'm asked for my login password. When I try to move a file into the folder I'm asked again for my login password. This is very annoying. My other Mac running 10.4.8 doesn't do this.

    You may need to rebuild permissions on your user account. To do this,boot to your Recovery partition (holding down the Command and R keys while booting) and open Terminal from the Utilities menu. In Terminal, type:  ‘resetpassword’ (without the ’s), hit return, and select the admin user. You are not going to reset your password. Click on the icon for your Macs hard drive at the top. From the drop down below it select the user account which is having issues. At the bottom of the window, you'll see an area labeled Restore Home Directory Permissions and ACLs. Click the reset button there. The process takes a few minutes. When complete, restart.   
    Repair User Permissions

  • Cannot receive mail.  Asks for password which I have had for over 4 years without being asked for it. How do I change pasword?

    Cannot receive mail.  Asks for password which I haven't needed for 4 years and don't remember.  How do I change password?

    Wondering if your ISP or mail provider is to blame.   Have you tried to call them?

  • I'm being asked for my password when I shouldn't be in Net Prefs

    Hello,
    I don't understand why System Prefs asks me for my password to relock after I already entered it seconds earlier to unlock.
    Network prefs is where this happens, and it occurs about half the time.
    I'm hesitant to blindly enter my password whenever I'm prompted when it seems to be out of place like this. I'll enter my password to unlock so that I can make a change. Then when I relock it asks me again. If I do not enter the password, and instead close the password box, the entire Network Prefs window contents disappears leaving a blank box.
    System bug, or malware/intrusion?
    Thanks.

    If the backup you're trying to restore from is encrypted, you will not be able to use that backup if you can't remember the encrypted backup passcode.
    If on a Mac, & you elected to save the passcode to your Keychain, you can recover the passcode from your Keychain. Otherwise, your data is unrecoverable.
    While you can continue to sync/backup, if you can't remember it & want to remove it, you'll have to delete your existing backups & restore the phone as a new device. Your data will be unrecoverable.
    You delete your existing backups here: iTunes>Preferences>Devices.
    If you have data on your phone, like messages, you want to save, you're gonna have to use third-party software, like this, to extract them from your phone. Notes, contacts, etc, you can just sync back to your phone after you restore as new.

Maybe you are looking for

  • Data entry

    Hi All, I'm creating a pretty standard desktop database app using Swing for the GUI. However, I'm getting RSI hand-coding all the data entry forms and was wondering if there are any good tools out there to perform this task for me. I'm looking for so

  • NO listener found for SID on Unix

    I have been trying to discover my nodes through Console. It does discover the node, but will not connect to the database. I make sure the agent is start in Unix and I am receiving a message "No listener found for SID". I need HELP!!!! Please email at

  • Loss of sound output and iTunes

    had a power cut yesterday and not sure if its a conincidence but can no longer get iTunes to work.  hitting the play button has no affect.  Looking at the sound system preferences it shows no output devices and the mute button is ticked and greyed ou

  • History Phone Call

    Hallo, Anyone know how delete iphone call history one by one ? not delete all ! i can't found it.. i have upgrade the firmware into 4.2.1

  • How can I recover accidentally deleted Mail folder?

    How can I recover accidentally deleted Mail folder?