General :: Log On Automatically To Remote Server Without Typing Everytime Password And Login?
Mar 24, 2011
i need to connect to a remote linux server on certain times (automated), but i need to log on to the server. So i want to make a script (shell perhaps) that periodically connects to the server and checks some files and folders.How do i automate it and how can i log on automatically to the remote server without typing everytime the password and login (the script should do it himself)
View 14 Replies
ADVERTISEMENT
Jun 13, 2011
when i login to openSUSE a window named login keyring appears and it asks me root password. it happens everytime when i login. how to fix this problem?
View 9 Replies
View Related
Sep 13, 2009
Ubuntu 8.4 Just installed Truecrypt yesterday. Would like to be able to start Truecrypt automatically and use the same password as my login password.
View 1 Replies
View Related
Jun 21, 2010
How I can save my password so I don't have to type it in every time I log into my server? It's a real distraction.
View 1 Replies
View Related
Jan 26, 2010
I accedently typed in a command in the terminal that made my computer load up without typing in user name or password. i would love you have that back. is there a command that you can use to get back there login screen. i am using ubuntu 9.10. i also dont know what the command was that i typed...
View 1 Replies
View Related
Aug 22, 2011
how to use remote services to login to a remote machine without providing the password?
Are there any commands in Linux or do I have to write a 'C' code for it ?
View 2 Replies
View Related
Apr 15, 2011
I know I can ssh login without password from a local to a remote. My question is how I can ssh without password from the remote to another remote. Say, I have three machines: A, B, C where A is the local machine. I use the same private/public key pair for all the login. What I can do are:
1. ssh from A to B.
2. ssh from A to C.
3. If I am sitting in the computer B (or B is local), then I can ssh from B to C.
What I am not able to do is:
After I ssh from A to B, I cannot ssh from the B to C. When I try to ssh from B to C, it asks me a passphrase.
View 1 Replies
View Related
Jul 23, 2009
I am an absolute Linux Beginner who is being required to do a bit of admin work because the boss just fired the old linux admin. Unfortunately, one of our employees cannot remember her password to her email account and as such I need to reset it on our linux server.What I want to check is that this email account is actually a linux user account and I simply will reset the password for it using the passwd command from the root login. Is that correct?
View 1 Replies
View Related
May 24, 2011
I need to be able to use an rsync command in script that will be run by cron. And it needs to be able to pass a password to rsync so that the remote server it's connecting to will authenticate.
I cannot set up ssh keys between the two servers, it's not an option. I cannot use any other language other than bash, it's my only option. I know this is highly insecure, I have no other option.
So far I have this:
rsync --rsh="/usr/bin/ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o PreferredAuthentications=password" -raxv /source/dir/* user@remotehost:/target/directory/.
This allows the script to ignore host verification and goes directly to the password prompt. I need the script to fill in this password prompt with the password that is stored in a variable.
I tried using expect, but I honestly don't know the syntax, it just keeps failing. A lot of the examples I'm finding online for expect starts off with a "spawn", which i don't have installed, and not sure if I have the ability to install it yet.
View 4 Replies
View Related
May 10, 2010
ubuntu 10.04. My computer is left on all the time. My computer's screensaver comes on 10 minutes after last keystroke. Which is fine. However, when I return to use the computer and disengage the screensaver, ubuntu ALWAYS requires my password to continue. How do I stop ubuntu from asking me my password everytime I wake my computer up?
View 2 Replies
View Related
Mar 9, 2010
I'm really new to Linux so this will probably sound like a pretty naive question to most users, but how do you change the root password?To install Java, I have to type # su into Terminal,which then asks for the password.What's weird is that when I start typing a password, no characters show up. I don't know if this is supposed to happen or not.I've found a bunch of different sites on the Internet that explain how to change the root password, but none of them seem to work for my specific work station.
I've got Ubuntu 9.10 64 bit. In the GRUB boot menu, I can choose to boot normal or in recovery mode (I'm led to believe older versions don't have this option).I've tried typing # sudo passwrd into Terminal, but I already have a root password set up apparently, so I can't change it there.
View 4 Replies
View Related
May 17, 2010
I found a way some times ago to mount a truecrypt volume when opening the session by insertion of the login password in the mounting script instead of putting it in clear in the script. I don't remember to command to read/transfer the password.
View 2 Replies
View Related
Nov 11, 2010
How to start a remote login session from script to any server?
View 1 Replies
View Related
Jul 28, 2011
I use to ssh to different machines in my office. Every time it asks me for password. How do i prevent ssh from asking password every time or is there any way of exporting password every time i login to different machine.?
View 8 Replies
View Related
Jun 13, 2010
Is it at all possible to login to a wireless network with a WPA password on Ubuntu Server with no Window System?
View 1 Replies
View Related
Mar 4, 2010
My printer is asking me for my password every time I want to print a document. How do I fix this?
View 3 Replies
View Related
Jun 4, 2010
I manage a few Linux servers and I need a fast way to connect to these servers instead of having to enter the root password every time.
Is there anyway to save the passwords/keys and connect to the servers by simply typing: SSH user@ip
Or even something easier without typing the server IP like I had Putty in Windows. I know I can still use Putty but I want to use a better SSH client, like GNOME Terminal.
View 5 Replies
View Related
Jul 8, 2011
I am not seeing what i am doing wrong here, but here goes:
From my server I need to run a command for backup on 25 remote servers (through a script). Now I have pushed the public keys for remote ssh connectivity on all of them and it works ( I can push files using rsync without the need to enter passwords on the remote servers), howver, I need to run the following command:
ssh odsadmin@10.139.111.1 'cp -a /var/www/life /var/www/life-v4'
when I run this command, I keep getting asked to enter the password, I even tried putting sudo in front of the cp, but still get the request to enter the password.
View 9 Replies
View Related
Nov 14, 2009
how can i solve a small little problem: Every time i start opensuse 11.2 i get a window asking me to input the keyring password... this started to happen after i installed Pidgin. how can i stop the keyring from asking me the password everytime??? how can i even get to this "keyring"??
View 9 Replies
View Related
Jun 13, 2011
I need backup files to a tape drive on a remote server without being prompted for password.
I got the part working to tar files to the remote tape drive like this:
Code:
currently I got rsync to work with out being prompted for password like this:
Code:
How can I get the above tar command to work like the rsync command so it does not prompt me for a password.
View 4 Replies
View Related
Aug 17, 2011
I have been looking at how to avoid typing my firefox master password. So far no luck.
Do you know of a way to have the master password in a file on a USB stick?
I am also looking for a way to integrate keepassx with firefox. I found passifox at[URL].. It depends on keepasshttp and seems to be a windows thing.
View 2 Replies
View Related
Jan 5, 2011
After connecting to any host, the openssh client hangs after I type the password. The strange part is, it only hangs if when I use the wlan card. If I connect my phone to the computer and uses it to connect to my server, it works 100%.
If I use any other computer at the wireless network, it works 100%
If I use putty on the same machine, it works 100%
It is only a problem when I use the build-in wireless card, under openSuSE 11.3, on my Lenovo L512. (note that everything besides ssh works completely).
View 4 Replies
View Related
Jul 15, 2010
How can I avoid typing a password on every admin action? example when i install a program.
View 7 Replies
View Related
Mar 25, 2011
I'm trying to run a script that needs root privileges without typing in the password. I want to copy a file from my documents folder into /etc/X11 to overwrite my xorg.conf. I do this because I will have my computer switch from my monitors to my TV when I watch a movie. But I'd like to be able to make it a clickable icon so I don't have to type in cp /... /etc/...
This is my "script"
Code:
sudo cp /home/nertskull/Documents/xorg.conf_TV /etc/X11/xorg.conf
Then I read a lot of places that said to add this to the sudoers file (sudo visudo)
Code:
nertskull ALL = NOPASSWD: /home/nertskull/Documents/switch_TV.sh
I've done all that, and I still get asked for my password when I run that file.
nertskull ALL = ...
%nertskull ALL = ...
%users ALL = ...
%admin ALL = ...
I'm sure it's something simple I'm overlooking, but I've read 5 different threads on this, and I can't find anything they did that I'm not doing. Also, here is my sudoers file, because I know location within the file matters. But what I read said I should be putting my stuff at the end.
Code:
# /etc/sudoers
#
# This file MUST be edited with the 'visudo' command as root.
#
# See the man page for details on how to write a sudoers file.
[code]....
View 6 Replies
View Related
Apr 28, 2011
my laptop is shutting down after i type in the password to start the upgrade.
logs:
syslog
WARNING: Could not launch application 'gnome-user-share.desktop': Unable to start application: Failed to execute child process "/usr/lib/gnome-user-share/gnome-user-share" (No such file or directory)
auth.log
administrator : no tty present and no askpass program specified ; TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/sbin/shutdown -h now
same thing is happening when i start synaptic.
View 3 Replies
View Related
Jan 1, 2011
I have no idea what happened to my OS(ubuntu10.04).it doesn't give me any option to enter my login name & passwd.i just get a blank(default) login screen.last time when it worked,i was trying to install GTK+2.8,but due to my mistake i deleted glib using cmd (sudo apt-get purge glib)and after that i even tried to launch terminal but it failed to launch.also tried to play media files using vlc but it didn't work.so i tried to restart my os and finally got stuck in the problem.i have no idea what to do,please help.Is there any cmd to see what problem occurred or which package is missing.
View 14 Replies
View Related
Feb 24, 2011
Is there a way to see what time I unlocked the lock screen (by typing the password)?
View 5 Replies
View Related
Mar 17, 2010
Everytime i login my screen resolution is 640x480_60 Then i in a terminal change resolution to 1680x1050
Code:
cvt 1680 1050
xrandr --newmode "1680x1050_60.00" 146.25 1680 1784 1960 2240 1050 1053 1059 1089 -hsync +vsync
xrandr --addmode VGA-0 "1680x1050_60.00"
xrandr -s "1680x1050_60.00"
How can i make these settings default everytime i login?
View 9 Replies
View Related
Feb 10, 2010
I've set up password-less login for user1 on a Ubuntu machine to login automatically into a Fedora box using the publickey authentication method. Everything is working smoothly. Now, there is a user2 on Fedora but he does not have an account on Ubuntu.
I tried to login as user2 from Ubuntu to but got the following error :
Code:
Predictably neither scp or sftp work either. I have several questions as a result.
1.Is the SSH server rejecting user2 login because I am inadvertently using user1 keys (as I am logged in as user1) ?
2. Do I need to have a user2 account on Ubuntu and public/private key authentication setup with Fedora for user2 to be able to login ?
3. Is there a method I can use to password login as user2 from Ubuntu to Fedora (even though there is no user2 account on Ubuntu) AND still keep password-less login for user1 or do I have to have password-less login for both ?
At present the only way to access the user2 account from Ubuntu is to SSH using the user1 account and then su to user2.
View 3 Replies
View Related
Feb 20, 2009
I have a problem with running Apache web server. I think my problem is either I can not get httpd to load automatically or it's being blocked from external unless I'm logged in, don't know which. Or, I'm completely off base. Either way, being logged in solves the problem. Now I just need to fix it. This is a brand new server running latest apache and fedora 10 (all fully patched). Loaded from source to all default (non RPM directories - apache is /usr/local/apache2/... )
I modified the existing /etc/init.d/httpd script and had it point to the /usr/local/apache2 areas.I even did a chkconfig --add httpd and show it is on for run levels 2345.The problem is that when I reboot the server httpd does not load because I can not access the website.However, the minute I login to the server as a user (non-root) it automatically loads httpd and the website works.Then, when I logout, everything is inaccessible again. I even tried to put the commands in the /etc/rc.local script (or wherever it is).Same thing happens.I know this is a simple fix. Just don't know what it is. Is it related to SElinux? However, wouldn't SElinux create access problems regardless of being logged in or not? Once I'm logged in, everything automatically fixes itself (either it's a service load or a rights filter fix).
Remember, everything works perfectly as long as I'm logged in to the server (even as a non-root user). Just the act of logging in makes the web server accessible from to the rest of the world. However, when I logout, the web server is inaccessible.
View 5 Replies
View Related