How Save All History And All Command Running In Putty
Jul 18, 2008i use for login to ssh by putty
and i run very command and result
how may i saved all this command and result in putty?
i use for login to ssh by putty
and i run very command and result
how may i saved all this command and result in putty?
Is there any way so that i can remove a specific command from history.
628 ll
629 cat bash.sh
630 man mail
631 exit
632 history
You see my history command displays output as this. I need to remove the 630 th command.
Is this possible ?
I can use history -r but, it will remove all the commands executed in the session.
I need a command to remove a specific thing from history.
is there any way by which we can keep the command running on PUTTY even when there is Power Failure on our local computer.
What i mean is -
Suppose i am running a TAR command on my BOX and suddenly Power goes off my local PC, so when i relogin i have to start from starch,
is there any way to avoid it, and login back to putty and resume the session?
Why servers are being run out of memory by the 'sort' command even when the logs are small? Here's what is currently on a site:
-rw-r--r-- 2 root root 22392143 Mar 26 11:40 access_log
-rw-r--r-- 2 root root 68018869 Mar 26 10:50 access_log.processed.1
-rw-r--r-- 3 root root 67671664 Mar 26 09:50 access_log.processed.2
-rw-r--r-- 1 root root 69908 Mar 26 10:50 access_log.stat
[Code] .....
We found an issue after running plesk mchk command to restore all the mail server settings with SpamAssiassin settings enabled for all email accounts on the Plesk Server.
After running the mchk command, we found many warning messages in the psa maillog as following "authpsa : No such user [Email account] in mail authorization database".
We checked the mysql database for records on the Email Account that the error is referring to but found that the Domain Email Database was deleted (email address, password, email data). Is this something normal that the plesk mchk command does? Plesk 12.0.18 Update #37
To start the process in the background how and hide him?
In the system CentOS is command "screen" There is the command screen
a system debian does not have this command, only "&" but I do not know her to use.
Please pass equivalents:
Centos: screen
Debian: &
Centos: [CTRL] + [A] + [D] (detach)
Debian: ?
Centos: screen -ls
Debian: ?
Centos: screen -r
Debian: ?
Recently brought a new server, works fine however when ever i run the command "make" either apache, eaccelerator or any kind of software a few seconds later the server hangs. It is then hard rebooted, no errors are shown the server just freezes.
Ive had a OS reinstall.
Is it possible to change the history counts? Just see, when i type history command on my machine, i get around 1000 last typed commands.
Is it possible to change that count ?
Is there a way to see what was happening on the server the last 24 hours for example in WHM ? A log or something.. To see if there was any high loads etc..
View 4 Replies View RelatedI am interested in knowing how to get rid of all of my information from the computer. When i search for things, my old searches appear and thats not good cause I am at work I need to know how to get rid of the evidence. I tried the Tools >> Internet Options >> Delete Cookies - Delete Files and - Clear History but it still appears with all of my old searches. Why Why why? Note, this is not for the browzer, this is for a form such as the typing area on google.
View 3 Replies View RelatedDoes CentOS4 logs every activity done by a SSH user? Or is there such script/software to do that?
View 10 Replies View RelatedI am working on a server, on that hostory shows in format like
Quote:
root@unix [/etc/profile.d]# history |more
1 Mar.04 01:35fdisk -l
2 Mar.04 01:35ping yahoo.com
3 Mar.04 01:35exit
4 Mar.04 18:21exit
5 Mar.04 18:04Smartctl -a dev/hda/
6 Mar.04 18:04Smartctl -a /dev/hda/
7 Mar.04 18:06Smartctl -a /dev/hda |grep Serial
That is history include time of command execution.
Quote:
root@unix [~]# set |grep HIST
HISTFILE=/root/.bash_history
HISTFILESIZE=1000
HISTSIZE=1000
HISTTIMEFORMAT='%h.%d %H:%M'
root@unix [~]#
I can't find anything regarding history on .bash_profile or .bashrc
Where this is set? How i enable loging command execution on CentOS?
take a moment and go to : alabanzamigrationsettlement dot com
you can see a class action was made by Alabanza Customers
and finally has worked for all Alabanza cutomers
let me know if you get payments from RUST CONSULTING
The Past Month (23 of July) i purchased two Mini VPS to check KnownHost Performance.
Great.
Yesterday I Begin to think in move some VPS with them, and i enter to check my VPS, and Are DOWN. No Notice emails, no nothing.
I Write to Support, and some minutes later they pass me to billing. Then i realize Immediatly the problem. One Partner of me, is a verified Paypal SPANIARD with vacation in Mexico, she Pay the Two Invoices, and Maybe Paypal reverse the payment.
I understand. Is ok ...
Can someone tell me how to clear the history of a UNIX user? For example, when logged in as a certain user I can press UP to see the last commands that were used. How can I get rid of them?
View 3 Replies View RelatedBefore I start on my review, I would like to say that I am not affiliated with FluidVPS in any way and am solely doing this because I would like to share my experiences with everyone.
I was one of the lucky few to be able to get a 'Free VPS' from FHDave (Fluidhosting) as part of their new promotion of upgrading hardware nodes.
My VPS has the following specs:
512 MB memory guaranteed
25 GB disk space
500 GB transfer bandwidth
When I just got my VPS I installed various applications such as Shoutcast and Tomcat simply because I could and I love it how it is automated.
My first ticket was a problem getting Shoutcast to work, and so I contacted and placed a ticket. Even though my free VPS was unmanaged, I still got them to help me which resulted in a simple restart of the server.
All was good for a few weeks until my forum was hacked one day (my guess was a weak password and some skiddie got access) which caused damage to my forum. After getting pretty worried I contacted Fluidhosting to find out if my VPS could get hardened I was prompted to pay since my VPS was free, it was 'unmanaged'. They did link me to their knowledgebase for tutorials and I applied them. Thinking it was enough I gave a sigh of relief and carried on with my life.
2 weeks later I was prompted with my VPS becoming compromised (someone hacked the VPS and used it to host an eBay phisher). Even though I had been told my VPS was 'unmanaged' they helped me with getting my VPS reprovisioned. I changed all my passwords to numbers and letters and that was the end of that.
I did have some problems with their Parallel Power Panel and HSPC although I cannot link it to the hack attempt. What happened was I was unable to restart the VPS and it would fail making my server go down. I submitted a ticket as well as contacted their live chat service and they tried fixing it. It didn't work and had to get help from the developers of the panel. However after a few hours my VPS was back! (I was asleep when it happened )
There were times during my hosting where my bandwidth had nearly been used up and my webspace being completely filled. I have found that some hosts oversell their resources and when you haven't used a quarter of the limit they suspend your account. This was not the case with Fluidhosting. My VPS was often always full and yet there was no problem. I have even used it to host torrentflux for my own usage and that was fine too.
There were times such as the VPS being compromised where Fluidhosting and their staff could have just suspended my account for good, and left me because of my website being too much trouble. They stuck with me to the end and helped me all the way. Their support is quick and helpful (gets the job done, real initiative there) and their live chat isn't just a salesperson.
My past 6 months was one heck of a journey, and it would have not been possible if I had not gotten a top notch service provider from Dave and the team. Thank you for an awesome opportunity to try out VPSes for a change. Once you use VPSes there's no going back!
I will be paying another 6 months with you guys (if all goes well at my end).
Sorry if this isn't quite 'a review', more like past history of my webhosting
So in short:
Service: 9/10
Resources: 10/10
Support: 9/10
Uptime: 10/10
I am trying to transfer a 1.1GB file from one of my servers to one of my servers in another data center.
What command would I use inside PuTTy to transfer the file via FTP, not SFTP.
what do you guys use for shell access?
It's been 2 years since last Putty release, so would like to dump it in favor of something else.
How do I configure PuTTY to produce the equivalent of this command:
ssh -f root@xxx.xxx.xxx.xx -L 3333:yyy.yyy.yyy.yy:80 -N
So far the configuration I've come up with is:
Source Port: 3333
Destination: yyy.yyy.yyy.yy:80
"Local"
"Auto"
This doesn't seem to do anything at all. I don't use windows much, so go easy on me
I have setup a private/public key for myself so I can login to SSH with a different password now I need to setup for someone else.
Now do I put there public key in the same file as my public key on the server, or do I make a new file on the server?
As root I can't save any changes inside my.cnf. Allways getting this error:
Could not open file for writing: Permission denied
I checked file permissions twice - everything seems to be normal.
Our Server doesn't show the Traffic History under "Tools & Settings -> Summary Report -> View Traffic History", but for every Domain it runs.
We Migrate this Server from a Dedicated to an OpenVZ Server - on another Server with OpenVZ its running without Problems, but this one we don't migrate.
I usually go mobile and I would need putty in my wm 6.1
is there some sort of "putty" or any other ssh tool where i can run ssh commands?
In my dedicated server I have MS SQL 2005 Server whose backup is scheduled at night 2:00 am through Management Console. Now, once the backup is over I wish compress it and give the current date as the name to the compressed file.
I had tried to do it using PK Zip server but was not successful in doing so. Can any body help me in accomplishing this.
I grepped an IP address on a domain log and it showed thousands of lines. How do I save this grep result to a txt file so I can send it to someone?
View 4 Replies View RelatedMy site is going down lot of times due to high cpu quota and when i check cpu exceeded logs i could see some ip addresses trying to open non existenet permalinks i.e. my site is smartdesis.com and they try to open smartdesis.com/xxx which gives a 404 error which is causinf high cpu usage. Repetedly they are trying to open differnt urls by appending /xxx to them, i banned nearly 100 ips but they seem to be growing.
View 10 Replies View RelatedI'm trying to get to my server using putty but when i enter my root password is says its invalid when i know its valid because i can login with it in WHM.
View 4 Replies View Relatedputty, and the SSH commands in general
When I open a file using "vi" command, it just open the file and I don't know how to edit it, by removing or adding text to it, so how can I do it?
how can i save /etc/passwd there is many linux order which show my users on server
such as :
cat /etc/passwd
cat /var/cpanel/acounting.log
ls -la /etc/valiases
ls /var/named
-----------------
and how can i disable the geting orders
such as :
wget
curl -o
lynx
What is the ssh command to initiate my FTP backup for WHM? I do not want to wait for the control panel cron and wanted to run it manually?
View 6 Replies View RelatedIm at work, and im trying to use putty behind a proxy. Im guessing they have L3 managed switched as I cannot just connect a server like I wiuld normally at home.
They are using a windows proxy (port 8080) so im guessing ISA...