To copy a file from a remote computer to the computer you are working at, you type:
scp user@remote-computer:/remote/path/remote-file /local/path/local-file
You will then be prompted for the user's password on the remote computer. After you enter it, the file will be copied.
Wednesday, November 12, 2008
Secure you ssh sessions!!!!
So when you scan you Linux box you see that ssh v1 is allowed and you read that it has some security flaws and you should disable it. Well that is correct not only should you disable that you should also disable sshing in to the box as root. So now all you need to know is how to do it.
All you have to do is modify 2 lines in your sshd_config file. Which is found in /etc/ssh/. When you open up the file in vi or your fav. editor you will see (with some searching) the following 2 entries
#Protocol 2,1
#PermitRootLogin yes
You will need to change these to lines to look as below.
Protocol 2
PermitRootLogin no
Then save the file and restart the ssh service
service sshd restart
There you go now you are a little more secure than you were this morning when you woke up :)
As a side note you should also make sure that your version of ssh is updated to the latest most secure version.
All you have to do is modify 2 lines in your sshd_config file. Which is found in /etc/ssh/. When you open up the file in vi or your fav. editor you will see (with some searching) the following 2 entries
#Protocol 2,1
#PermitRootLogin yes
You will need to change these to lines to look as below.
Protocol 2
PermitRootLogin no
Then save the file and restart the ssh service
service sshd restart
There you go now you are a little more secure than you were this morning when you woke up :)
As a side note you should also make sure that your version of ssh is updated to the latest most secure version.
Monday, October 20, 2008
New TCP/IP Stack in Windows XP
You have probably noticed by now that you cann'tUninstall TCP/IP on Windows XP but to reset the stackyou can use the following command. To do this open up a dos window.
START>RUN>CMD then press enter and type the following command
netsh interface ip reset c:reset.txt
Now if you had any manual settings you will have to reset those.
START>RUN>CMD then press enter and type the following command
netsh interface ip reset c:reset.txt
Now if you had any manual settings you will have to reset those.
Thursday, October 9, 2008
Net Use with a password?
Okay so today I get a call from one of my guys who needs to map a drive in a batch script. No big deal just use the following......
net use z: \\server\share
boom no big deal.... then he came back with.....I need to give it a user name and password
net use z: \\servername\share password /user:username
Now if you put that in a batch file it password is in plain text so that is not very secure at all.
net use z: \\server\share
boom no big deal.... then he came back with.....I need to give it a user name and password
net use z: \\servername\share password /user:username
Now if you put that in a batch file it password is in plain text so that is not very secure at all.
Wednesday, October 8, 2008
What I do.
I am an IT professional. So I am always having to find ways to do new things. Some of which are pretty useful, but since I seldom use I forget. Then I have to figure it out all over again. So I am going to start posting my ways to complete certain things here then I should always have them. In the end it should make me more efficient and maybe help someone else too.
Monday, April 21, 2008
Meet Riley
I am proud to announce that Riley got to come home to be with his family this weekend. He got to come home on the nineteenth of April 2008 for the first time.
So far he has been the best puppy I have every owned. I have never had a puppy that would retrieve at this age. Riley is yet to have an accident in the house or in his crate. He will already go in his crate upon receiving the kennel command. He is an awesome looking puppy.
So who is Riley? Riley is a Brittany puppy that we got from Quail Point Kennels. His dad is Buster and mother is Cricket. Both parents pedigree is available on the QPK website at http://www.quailpointkennels.com/. Riley was born on March 5, 2008.
I am sure that you will hear more about Riley as my blog continues.
So far he has been the best puppy I have every owned. I have never had a puppy that would retrieve at this age. Riley is yet to have an accident in the house or in his crate. He will already go in his crate upon receiving the kennel command. He is an awesome looking puppy.
So who is Riley? Riley is a Brittany puppy that we got from Quail Point Kennels. His dad is Buster and mother is Cricket. Both parents pedigree is available on the QPK website at http://www.quailpointkennels.com/. Riley was born on March 5, 2008.
I am sure that you will hear more about Riley as my blog continues.
Monday, April 14, 2008
What now?
So now I have this blog..... wow what do I do with it. Do I tell my feelings on politics? maybe just about me? or do i just talk about the normal buzz that is going on a round me? Who knows I suppose we will just play it by ear.
So for now my newest task are beginning to get organized. Wow what a task this is. I am used to just going from one fire to the next. Well now I am at a point in my professional career that sees that being a way of the past. So how am I going to go about this? Well to start I am going to try out google's calender. I suppose we will see how it will do for me.
What I am working towards learning? At the moment php has my attention so I will see how that goes.
Also security for my user base. It seems as always my biggest problem is social engineering. How do you get through to your user community? Do you test a different method every month? If you just send them communications about what it is and how to deal with it some read it some don't? It seems to me most don't. So I am going to try testing them more often. See how they do. Then make examples of the users that fail. Seems fair enough to me. We will see.
So for now my newest task are beginning to get organized. Wow what a task this is. I am used to just going from one fire to the next. Well now I am at a point in my professional career that sees that being a way of the past. So how am I going to go about this? Well to start I am going to try out google's calender. I suppose we will see how it will do for me.
What I am working towards learning? At the moment php has my attention so I will see how that goes.
Also security for my user base. It seems as always my biggest problem is social engineering. How do you get through to your user community? Do you test a different method every month? If you just send them communications about what it is and how to deal with it some read it some don't? It seems to me most don't. So I am going to try testing them more often. See how they do. Then make examples of the users that fail. Seems fair enough to me. We will see.
Subscribe to:
Posts (Atom)