Putty - Editing File

Oct 26, 2007

putty, 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?

View 5 Replies


ADVERTISEMENT

One Server - File - Two Users Editing It, Third Errors Out

Sep 25, 2009

There is 1000MBPS network set up between three computers and server.

Server has files which program saves.

Program is being run in three different computers.

Each computer tries to get into same file (eg last bill) that was created before. First computer goes in within seconds. second minutes and third just crashes. No matter which computer runs it first, last one crashes.

So called "server" is running on Windows XP pro since it just needs to keep one program files. However I cant find out whats causing file sharing over network bug that crashes access to same file if connection from many computers.

View 7 Replies View Related

Apache :: Will Editing HTAccess File In Cpanel Effect All Wordpress Domains And Subdomains

Mar 26, 2014

I added the following to my cpanel .htaccess file on my hosting account:

<FilesMatch ".pdf$">header set x-robots-tag: noindex
</FilesMatch>

This was to stop Google from crawling and indexing my PDFs, will this work accross all my addon domains and subdomains (which are wordpress) on my hosting account or do I need to take extra measure?

View 4 Replies View Related

FTP Transfer In PuTTy

May 2, 2009

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.

View 8 Replies View Related

Editing DNS Zones In WHM

Jul 16, 2009

I'm in the process of migrating a site to a new server. we're not ready to move email yet, so ideally i would like to just move web traffic at this time. i would like to be able to do this without changing the nameservers with the domain's registrar at this time.

which records to i need to manipulate in order to do this?

can i just change the A record for domain.com to point to a new IP and this won't impact the current email or do i need to move the entire site?

My biggest concern right now is impacting email by moving the everything to the new server.

View 2 Replies View Related

Putty Replacement

Oct 22, 2009

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.

View 14 Replies View Related

PuTTY Ssh -f Root@....

Nov 1, 2009

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

View 2 Replies View Related

Editing A DNS Zone

Mar 11, 2008

to edit a DNS Zone (via WHM=> DNS Zone Edit) of a domain hosted on my server & which NS's are routed to.

New setting should route domain to a seperate server (i.e HTTP, FTP) and leave EMAIL on my server.

I've changed all settings, except MX & mail CNAME, to the new IP (This includes NS's, A's, CNAME's - WWW & ftp). Still the WWW is not working and email has stopped working localy.

View 9 Replies View Related

SSH/Putty Keys

Aug 7, 2008

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?

View 4 Replies View Related

Is There A Way To Run Putty In Windows Mobile 6.1

Oct 24, 2009

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?

View 11 Replies View Related

CPanel/WHM DNS Zone Editing

Jul 11, 2008

I have recently updated my cPanel/WHM to the latest stable version and with one (and maybe a few more) of the DNS zones I cannot edit using cPanel and I get this error:

Unable to parse zone: Error while parsing zonedata for THISISMYDOMAIN.COM: expected valid serial, line 4 ...propagated at /usr/local/cpanel/Cpanel/CPAN/Net/DNS/ZoneFile/Fast.pm line 142.

What can I do to fix this as I need to edit this DNS zone urgently.

View 8 Replies View Related

Editing Mime Types

Aug 27, 2008

Whenever I try to validate a page on my website it says it's invalid because the mime type is incorrect.

If I add this code to the top of the page:

PHP Code:

<?php
header("Content-Type: text/html");
?>

The page then becomes valid.

How can I update the mime type on the server so that I wont have to add this code to every page?

My server is a VPS running Apache with Plesk. I have SSH access.

View 3 Replies View Related

FTP Program With Instant Editing

May 2, 2008

I am currently using WinSCP to edit files on remote servers on the fly without having to download them and then open them. WinSCP works fine, but today I experienced a severe problem for a second time.

When saving a file (a css file), WinSCP gave me an error something to the effect of "Lost connection - Could not list directory"...or something like that. When I reconnected, the file has gone corrupt at 0 bytes. Ultimately, the file is history!

Thankfully, I had a backup of the file, but more specifically, I am a fan of "Ctrl+A " then "Ctrl+C" before saving any file when doing live edits. This is what saved my butt!

I have a continuous problem of losing my connection with the remote servers, but when I connect via SSH to my local servers (either locally here or when I am mobile), I do not believe I have EVER lost my SSH connection.

My question is this...

Is there another FTP program out there that anyone can recommend that will allow me to edit files over FTP that does not require download, then open? Filezilla works great, but to my knowledge, I can only download each file, then open.

I have reported the problem to the host and we have gone through the settings with WinSCP and I have also been to WinSCP about this issue...all to no avail.

View 14 Replies View Related

Php.ini - Editing It Messed My Whole Server Up

May 11, 2008

I have changed one value in /etc/php.ini
safe_mode = On then restarted apache.

Now, when I try to access any mysql based sites, like forum or gallery - I get a blank page.

I went back and changed safe_mode back to 'Off'. Restarted the server - but I am still unable to load any pages.

Running CentOS.

View 6 Replies View Related

Crontab Editing Error

Jan 13, 2008

I am trying to edit crontab using crontab -e, I seem to get to it okay but I am unable to edit anything in there, at the end of the file there are ~ in there, and I cant even delete them. Its like the file is locked.

View 6 Replies View Related

Cant Login To My Server Using Putty

Jul 3, 2008

I'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 Related

Initiating WHM Backup Via Putty

Dec 15, 2007

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 Related

Putty Behind Proxy Windows ISA

Jul 27, 2007

Im 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...

View 0 Replies View Related

SSH Putty Title As IP Address Or Hostname

Aug 7, 2008

I use SSH Putty from my Windows PC to login to multiple Servers. So I usually have multiple Putty windows on my desktop.

How can I set Putty to display the hostname or IP Address of the server in the title bar - So it'd be easy for me to choose the right Putty Window.

View 2 Replies View Related

Syslogd Error On Putty Screen

May 24, 2008

Out of sudden today, my cPanel server box appear this kind of error on my putty screen. Just wondering what is that all about?

Message from syslogd@test at Sat May 24 15:43:15 2008 ...
test kernel: Oops: 0000 [#2]

Message from syslogd@test at Sat May 24 15:43:15 2008 ...
test kernel: SMP

Message from syslogd@test at Sat May 24 15:43:15 2008 ...
test kernel: CPU: 1

Message from syslogd@test at Sat May 24 15:43:15 2008 ...
test kernel: EIP: 0060:[<c01ae881>] Not tainted VLI

Message from syslogd@test at Sat May 24 15:43:15 2008 ...
test kernel: EFLAGS: 00010282 (2.6.21.1 #2)

Message from syslogd@test at Sat May 24 15:43:15 2008 ...
test kernel: EIP is at ext3_splice_branch+0x90/0x134

Message from syslogd@test at Sat May 24 15:43:15 2008 ...
test kernel: eax: 000007ab ebx: cf3b1c28 ecx: 00000001 edx: 000007a9

Message from syslogd@test at Sat May 24 15:43:15 2008 ...
test kernel: esi: e87fdd80 edi: cf3b1c40 ebp: f798d9b4 esp: cf3b1bd5

Message from syslogd@test at Sat May 24 15:43:15 2008 ...
test kernel: ds: 007b es: 007b fs: 00d8 gs: 0033 ss: 0068

Message from syslogd@test at Sat May 24 15:43:15 2008 ...
test kernel: Process pkgacct (pid: 3859, ti=cf3b0000 task=eebd25b0 task.ti=cf3b0000)

Message from syslogd@test at Sat May 24 15:43:15 2008 ...
test kernel: Stack: 00012b35 a9000000 04000007 28f31165 66cf3b1c 40012b35 00cf3b1c d0000000

Message from syslogd@test at Sat May 24 15:43:15 2008 ...
test kernel: 40c01aeb 00cf3b1c 01000000 40000000 e6cf3b1c 6cc01701 03f31164 04000000

Message from syslogd@test at Sat May 24 15:43:15 2008 ...
test kernel: b4f31165 01f798d9 00000000 62000000 a0000000 c7f31164 00012b31 00000000

Message from syslogd@test at Sat May 24 15:43:15 2008 ...
test kernel: Call Trace:

Message from syslogd@test at Sat May 24 15:43:15 2008 ...
test kernel: =======================

Message from syslogd@test at Sat May 24 15:43:15 2008 ...
test kernel: Code: 3b 5c 24 2c 7d 0b 8b 17 89 c8 41 89 04 9a 43 eb ef 85 f6 74 1e 8b 4c 24 2c 8b 54 24 08 8d 44 0a ff 81 46 1c 6b 44 24 28 0c 8b 44 <38> 04 01 c8 48 89 46 20 8b 4c 24 0c 31 d2 a1 80 42 5f c0 89 51

Message from syslogd@test at Sat May 24 15:43:15 2008 ...
test kernel: EIP: [<c01ae881>] ext3_splice_branch+0x90/0x134 SS:ESP 0068:cf3b1bd5

View 1 Replies View Related

Putty SSH Slow Open A Connection FROM ANOTHER SERVER

May 7, 2009

I am using Putty to connect to my server via ssh.

When opening a direct connection, i can login quickly without any problem

Quote:

login as: gracie
gracie@server1's password:
Last login: Thu May 7 07:31:26 2009 from 192.168.0.5
gracie@server1 [~]# sudo su -
Password:
root@server1 [~]#

When I open a connection FROM ANOTHER SERVER, I have to wait more than 20 seconds

Quote:

login as: tech2
tech2@server2's password:
Last login: Thu May 7 07:32:07 2009 from 192.168.0.5
tech2@server2 [~]# ssh gracie@192.168.0.222
Password:

After I enter the password, I waited 20 seconds before I am logged in.

View 2 Replies View Related

Apache Does Not Restart After Editing Httpd.conf

Jun 12, 2009

I am having a problem on my VPS. I am running the latest version of Apache on Windows Server 2K3, and after editing httpd.conf to allow virtual hosts (#Include /conf/extra/httpd-vhosts.conf) and trying to restart the service, an error appears saying the operation failed.

I have even tried restarting/starting the service via services.msc

If I am not using the default httpd.conf Apache will not restart at all... it is very strange. I have also tried doing a repair of the installation of Apache.

View 11 Replies View Related

Restoring Full Backups - CPanel And PuTTy

Jun 14, 2008

I’ve just switched to a deticated server. I have backups of sites I need to move over and restore. cPanel has a “Restore a Full Backup/cpmove” option. Two questions…

1) How do I upload the back up file to the /home directory of my deticated server?

2) If the backup file is under a current client “/home/clienta” how do I restore it?


I’ve also tried using puTTy to restore the file.

- logged into as “root”

- typed “cd /home”

- typed “/scripts/restorepkg domainname”

View 5 Replies View Related

How Save All History And All Command Running In Putty

Jul 18, 2008

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?

View 5 Replies View Related

Server Access Problem Using Root In Putty

Jan 3, 2008

I am having problem login to my server using root as login.

Here is the situation:
I have the root access for WHM as user1 for login, and password1 for password. This can allow me to login to my WHM.

However, in SSH (Putty) I tried to connect to the server using user1 as login, but when I typed password1, it said access denied..

View 11 Replies View Related

Is Pageant (Agent Forwarding) For Putty Supported On Linux?

Oct 28, 2007

I've setup my ssh to login with keys and passphrase. I would like to do away with passphrases by using agent forwarding. Putty uses Pageant to store private keys, bu from all the tutorials I can find, it's a windows based feature (to add private keys). I've also tried to use ssh-add (a different agent), but it has trouble recognizing my private key passphrase (made with putty). I know the private key is working because I'm able to use use ssh without a password, just the phrase.

What's the best way to do this? Is there a putty pageant command line that I don't know about?

View 2 Replies View Related

Plesk 12.x / Linux :: Persistent Editing Of Postfix Files

Dec 10, 2014

I want to put custom values in /etc/postfix/main.cf, but I'm afraid plesk would overwrite them during upgrade. How can I safely add custom values to main.cf and preserve them duing plesk updates?

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved