General :: SSL Server Key W/O Pass Phrase?
Jul 16, 2010I'm having trouble trying to generate an SSL server key WITHOUT a pass phrase.
Here's what I did. Wrong, obviously.
Code:
I'm having trouble trying to generate an SSL server key WITHOUT a pass phrase.
Here's what I did. Wrong, obviously.
Code:
Is it complete unsafe to have a ssh key with out pass phrase ?
View 4 Replies View RelatedSome of your private key files are encrypted for security reasons. In order to read them you have to provide us with the pass phrases. Server your.server.com:55 (RSA)
Enter pass phrase:
Server www.blahblahblah.com:55(RSA)
Enter pass phrase:
How to login ?
The cursor is blinking but I am unable to enter the pass phrase; the only thing I can do is press the power button to shutdown. Even if I leave the PC running for a hour I can't type anything.
I know how to resolve the problem if I am able to login.
Been using fedora for a few years now, got a boot error this morning I just have no idea were to start looking. Got a luks encrypted root, getting the following after entering pass-phrase:
...
Starting Stdio Syslog Bridge.
Starting /dev/cgroup failed, see 'systemctl status dev-cgroup.mount' for details.
[code]....
I'm using ssh key based authentication and I was pleased to find that when I set it up out of the box when I connected to my ssh server it prompted me with a password window rather than typing into the terminal and it remembered the pass phrase from one connection to the next.
For some reason it's stopped showing me the window, instead I'm logging in through the terminal, and it's stopped remembering my pass phrase between connections. since I don't know what the program was called that gave me the login box it's rather hard to search for.
I was trying to set my wireless to start up when the computer is booted like the regular ethernet eth0 but I can't figure out how to set the WPA pass phrase with system-config-network
View 2 Replies View Relatedwant key based so i dont have to put in the password of user or passphraseI have edited the ssh_configfrom #Protocol 2, 1 to Protocol 2 with out the #I have edited the sshd_configPermitRootLogin yes to PermitRootLogin no#PasswordAuthentication no to PasswordAuthentication noi have the same file changes on the other 2 computers. I have 3 computer all together 1 xbuntu and the other 2 are ubuntu. All have the authorized_keys with chmod 400 persmissons id_dsa.pub and known_host fileone has id_dsa and it will not talk to the other computer either
aceraspire@momacer:~$ ls -l .ssh
total 16
-r-------- 1 aceraspire aceraspire 605 2010-03-25 11:21 authorized_keys
[code]....
My first post here. I've been using Ubuntu Server edition (Hardy) happily for some time now. I use sudo regularly during configuration of new services. It always works/authorises within seconds, however, it recently became very slow, to the point of being nearly unusable. It turns out that ANY authentication request stalls in this way - in in a plain shell, X or Gnome, via VNC (and even FTP seems affected). In /var/log/auth.log I noticed a regular working pattern like this:
[Code].....
Unfortunately now, these records look the same, but the timestamps are much wider apart (minutes). The problem occured after running synaptic and dpkg-reconfigure obm-conf. I was trying to remove 'OBM' [URL] completely as I'd messed up (just OBM) while trying to fix a minor-looking misconfiguration.
I've carefully analysed which files were altered (modified) during my changes (as the problem survives a reboot), but there are no likely-looking candidates in the list (I deleted some blank lock files). I also did a wireshark capture during an authentication session and noticed that it doesn't appear to be looking off the server for information (I had likewise-open installed, but the problem exists whether that is running or not). Research in the forums hinted that this might just be as simple as a bad /etc/hosts file - but /etc/hosts has not been modified. I may have a flawed DNS, but I get fast enough responses to nslookup and can access Internet etc.
how do I find a phrase/word recursively in a file tree in Linux?I tried find . -name ./* | grep my_phraseand I tried grep -r "register_long_arrays" *
View 5 Replies View RelatedWhen looking for a certain word or phrase in the man page of linux command, one can type '/' followed by the word/phrase to search for it. What I'd like to be able to do is to search for the next occurrence of the word/phrase without having to type it out again. Kinda like when you use 'ctrl+f' in a browser to search for a word, and then press 'enter' to find the next occurrence of that word.If this is possible to do, how do I do it?
View 2 Replies View RelatedI want to pass a directive to all but one or two locations. How do I do that?
Like:
<Location /1>
xxx
</Location>
<Location /2>
[code]...
hi all how do i use php to pass commands onto a server? like i want to be able to:
1. delete the content of a file (or just delete the file and make a new one if it's easier)
2. read the content from a file
3. write new data to a file via an input box
4. run a command on the server
I am not parsing on a webserver so is it possible to have both
#! /usr/bin/php &
#!/bin/bash
in the same script? Alternatively, I have a current bash script that I need to get some variables from mysql and not sure how to get mysql results in bash:
Quote:
mysql -h server.net -u username1 -paaa -e "USE squid; SELECT email, usern FROM TABLE WHERE blah blah;"
emailadd="resultfrom above"
usern="resultfromabove"
My Server is Ubuntu 9.10x64 running in a 64bit vmware on a Dell Optiplex 760. I have the Ubuntu amd64 mirror downloaded locally in /var/spool/apt-mirror/mirror/ubuntu.mirror.iweb.ca/
I am not working with any other **buntu flavours.
tftp and dhcp are all working from what i can tell. My client can boot from the PXE, get an IP address, and takes me into the Kickstart loader.
For some reason, it is not reading my ks.cfg. I get the blue screen that says the following: "The installer failed to download a file from the mirror. This may be a problem with the network or with the mirror. You can choose to retry the download, select a different mirror or cancel and choose another installation method.
Downloading a file failed:"
Below I have pasted whatever relevant information I can find pertaining to my issue.
+++++++++++++++++++++++++++++++
+ /var/www Directory Listing +
+++++++++++++++++++++++++++++++
drwxr-xr-x 2 root root 4096 2010-04-26 11:39 .
drwxr-xr-x 16 root root 4096 2010-04-21 13:08 ..
lrwxrwxrwx 1 root root 53 2010-04-26 11:38 boot-screens -> /var/lib/tftpboot
[Code].....
I have been working in Linux for the past two years.And working in squid for the past 6 months.The following is my Setup
ETH1 - ISP1 (Active)
ETH2 - LAN (Active)
ETH3 - ISP2 (Inactive)
Using Iptables I forward 80 port through squid (3128).Other ports just get connected in the proxy machine itself since it has IP_FORWARD enabled. All my client machines browsers enabled with "Use proxy 3128". I just want to make all the port to pass through squid server.
I would like to take a file looking like...
uid=user1,ou=People,dc=company,dc=com
uid=user2,ou=People,dc=company,dc=com
uid=user3,ou=People,dc=company,dc=com
[Code]...
im trying to find a way to extract the phrase between the words Connection and is (ie the underlined words below). Can we use awk to do this? How? Is it the best command to use?
Code:
[06:25:00][i] Connection at Plant A is live
[06:25:00][i] Connection at Building_C is not live
[07:25:00][i] Connection at Terminal D is down
I need your help for a problem that it's happening in my customer. What I need is to change the configuration of a proxy, configured on Linux Cent OS v 4.3( explanation - see below) .My squid configuration's file it's like this:
[Code]...
I'm in the process of starting a migration from an old postfix server to nice shiney new exim server however there are a few things i'm really not clear on and i'm hoping that some one here could point me in the correct direction. Okay the postfix server at the moment does the follwoing ( i'll try and keep this simple ):
* accepts incoming mail for users on multiple domains and puts the mail in the users mailbox ( external -> internal )
*accepts mail from users on multiple domains to pass on to the outside world ( internal -> external )
Obviously the POP and Imap functions are handled by other daemons.. I'd like to replicate this sort of setup on the new exim box, however the guides i can find only help with configuring the exim system for incoming mails ( external -> internal ) for multiple domains and i cant seem to find a guide that would indicate how to do both ( internal -> external and external -> internal ) on one box. I'm guessing i may have to do some sort of auth to get exim to accept and then handle the internal -> external side of things?
I'm trying to pass multiple dpmains thru one ubuntu server to various hosts on my local network.
[url] should be sent to the /var/www folder on the local host.
[url] should be forwarded to an IIS box on my local network (owa.nunya.local)
[url] should be sent to another ubunto box on my local network (smtp.biznet.net)
I have tried placing VirtualHost entries in /etc/apache2/sites-available/default and [url]and [url] both work but [url] gets forwarded to the c:inetpub folder on the IIS box.
passing a wild card array to cp, I know it can be done but cant figure it out, ive got 3 files all start with the word somefile but have 3 different extensions
somefile.conf
somefile.dat
somefile.py
there in a folder with a bunch of other files and I just want to copy them to a different location. I remember is being something like cp somefile.[py conf dat] /somewhere but this isn't working Ive searched the net and can't find it with the keywords i'm using.
I've got a sticky little problem with a bash script. Please consider the following code:
Code:
#! /bin/bash
processArgs() {
echo "Count = $#"
while [[ $# -ne 0 ]]; do
echo $1
shift
done
}
processArgs $* If I call this script with Code: ./script first second third it'll print each of the argument on a new line - exactly what I would expect. However if I call it with
Code: ./script "Single Argument" "Second-Argument" it splits the first argument in two using the space as a delimitor. The problem appears to be the call to processArgs, where $* doesn't honour the quotes around the variables sent to the script.
Is there any way i can pass two / three values to grep. Basically i want to list the lines in the file with three different values. Currently I'm using three grep to get my work done.
EG: more Filename | grep text1 | grep text2 | grep text3
BRs
I want to pass a variable from one script to another, I have a feeling it's extremely simple.
I looked at exporting, but apparently that clogs up the shell, so I don't want to go down that route. Any suggestions?
What i want to do is create multiple informix sql statements & later run them via a bash script.
Here is what i have so far (this works) but is meant to be run from a cron job so it only does one day at a time:
echo "
update hst`date --date='yesterday' +%m%d%y`
set x = 'GARP'
where y in ('CRE', 'LAC', 'SRL', 'JAG', 'JNM', 'BIM')
and appl = '';
[Code].....
The problem here is it doesnt want to read the variable $x correctly so the statement fails.
I frequently use wget to download tarballs and zip files from the web, then either untar then or gunzip them. I do:
Is there a way for me to automatically pass the zip file to tar or unzip WHILE wget-ting?
In pseudocode: wget google.com/somfile.zip && unzip
I have to linux boxes (ubuntu 10 and ubuntu 9), both are in the same network - i can do ping between them- so, I need to pass several files between them and i want to do it using the network, i went to nautilus and then smb://192.168.0.1 but i couldn't connect.
my question is:
-how can I do this?
-do I have to do it using samba?
when I am running the script below,it performs on whatever logfile u type ,i.e, ./scriptname logfilename.But how do I convert it into a function and then call it from another script.I mean how do I prompt the user to enter a logname and then capture the name in the function and when calling this function from another script how do I pass the parameter.
View 3 Replies View RelatedI have a backup schedule running a full backup everyday. I'm using webmin to manage these backup now. The problem is when the dump command sends a prompt asking if we want to rewrite the tape, Webmin does not display this prompt and we end up having to terminate the backup -> erase the tape(which takes a long time) and then run the backup again.I was wondering if there is a technique that could be used to pass "Yes" as a parameter to the dump command, much like in windows? or if there is a more efficient way of getting this done.
View 2 Replies View RelatedCan I pass javascript variables to bash script? If possible in bash script what code should I insert to receive javascript variables.
View 14 Replies View Related