Showing posts with label Remote Access. Show all posts
Showing posts with label Remote Access. Show all posts

Friday, August 7, 2015

How To SSH From Cisco Network Device Router or Switch to Another

In this article will demonstrate on how to ssh from cisco router or switch to another network device.
Sometimes, you want to ssh cisco router or switch as fast as possible rather than using program such as putty that enable us to ssh the network devices. For example, if you want to ssh a cisco router that has an ip address 10.12.0.244 from the cisco router that has an ip address 10.12.0.1, you should follow this formula.
Router#ssh -l user-name ip-address
Router#ssh -l tariq 10.12.0.244

and then will prompt you to type the password of the username that was configured on the router (10.12.0.244), as shown in the short and simple video below


To get automatic updates on your facebook, join a facebook group
https://www.facebook.com/groups/netsyshorizon/
To get automatic updates on your youtube guide, subscribe to the channel
http://www.youtube.com/channel/UCl25WPPKY4jnkGf32DnXU5


Related Links:
Telnet Vs SSH - Difference betweenTelnet and SSH Configuration
https://youtu.be/15pfENww-dk
Configure DHCP on Cisco router - Cisco router as a DHCP Server
https://youtu.be/YTCgVn9X4ac
SSH from cisco router and switch to another
https://youtu.be/_I-0Vgc8E9s
Assign ip address to cisco switch / Assign ip address to vlan
https://youtu.be/Q9SUVmyJr80
OSPF Cost Calculation and Configuring Bandwidth/ip ospf cost/reference bandwidth
https://youtu.be/zgqaVkQe5Sw
EIGRP Composite Metric Calculation and Configuring different delay values and Bandwidth values
https://youtu.be/GsnV4Bc3On8
Configure / Assign IP address to Cisco Layer 3 Switch
https://youtu.be/s9DMZCq27Ys
Configuring cisco extended acl / extended named access control list tutorial using packet tracer
https://youtu.be/Tj6H8pg06f0
Configure Cisco  Extended ACL/ Extended Numbered Access Control List ACL Using Packet Tracer
https://youtu.be/j0CDNAa2Wqg
Port Forwarding and Static Nat on Cisco Routers - Access your private network from the internet
https://youtu.be/8WVWoW86Uhw
Configure Cisco Named Standard Access Control List ACL on Cisco routers
https://youtu.be/u2zmuRZazFw
How Access List works - Numbered Standard Access List configuring
https://youtu.be/rLci6mFg2BA
Cisco router WAN Redundancy/WAN Failover and Change Routing dynamicaly Using IP SLA - Route Tracking
https://youtu.be/x3xZhbrX7Ww
Cisco Named Access Control Lists Editing (add and delete individual lines+resequence)
https://youtu.be/RToV6h2rGeM
Connecting  GNS3 to Vmware

https://youtu.be/WuLf3ESAx94
How to download and install GNS3 1.2 + adding IOS image to GNS3

https://youtu.be/CXVNpERIPo4
Mikrotik router PPPoE client configuration - Mikrotik PPPoE client Setup
https://youtu.be/aUGL20rjbVA
Add IOS images to GNS3
https://youtu.be/GjxODWeuC5Y
Connect your PC to GNS3 - connecting GNS3 to local machine
https://youtu.be/c_b_-rGWnJc
Configuration register value - changing the configuration register
https://youtu.be/YVAKerOmJpk
Backup and Restore Cisco Configuration file -  Cisco backup Config
https://youtu.be/YMX1EMPjBC0
Capture telnet password using wireshark - Sniffing telnet password using wireshark
https://youtu.be/xShwyUq-uHk
Clock Rate vs Bandwidth - Configuring clock rate and bandwidth
https://youtu.be/rntsm5bHagI
Configure Default routes on cisco routers
https://youtu.be/E5-kpZt8LU4
Configure cisco router hostname and ip address
https://youtu.be/1OYMlMzQ1dE
Cisco Router Password Recovery
https://youtu.be/6shdtrAx9l0
Static Routing Configuration Using Packet Tracer
https://youtu.be/v05Jm4h-Zms



Keywords:

Setting an ip address to cisco layer2 switch
ssh from cisco router to another cisco router or switch
ssh from cisco device to another cisco device
ssh from cisco switch to another cisco switch or router
secure shell commands
Configuring secure shell on routers and switches
how to ssh from cisco router switch to another cisco router switch
Cisco ios built-in ssh client
ssh between cisco devices
how to configure ssh on cisco router and switch
Configuring ssh on cisco routers and switches

Friday, March 6, 2015

Difference between telnet and ssh - Telnet and SSH Configuration - Telnet Vs SSH

Telnet and Secure Shell (SSH) protocols have the same purpose. Both of them are used to communicate to a remote device. They are used mostly by network administrators to remotely access and manage devices such as routers, switches, servers.

Telnet is not secure because all the data would be sent in clear text including the passwords without authentication and encryption, but SSH is a secure protocol because it encrypts the data using authentication and encryption protocols.

SSH uses RSA for authentication , and encryption protocols such as DES and 3DES. The differences between telnet and SSH are shown in the table below

Telnet
SSH
Runs on port 23
Runs on port 22
No Authentication
With Authenticaion (public key)
No Encryption
With Encryption
Send data in plain text
Encrypts the data
Not secure
Secure

Configuring Telnet

R(config)#line vty 0 4
R(config-if)#password test!tariq
R(config-if)#login
R(config-if)#exit

Configuring SSH

1-you must have hostname and domain name configured on the router
R(config)#hostname tariq
tariq (config)#ip domain-name test.xwz
2-Create username and password in the router database
tariq(config)#username tariq privilege 15 secret tariq@123
3- Generate an RSA keypair with a key length of 1024 bits for authentication
tariq (config)#crypto key generate rsa modulus 1024
4-Enable login authentication against the local database of the router using the login local command and uses ssh protocol when logging in to a the terminal line using transport input ssh command.
tariq(config)#line vty 0 4
tariq (config-if)#login local
tariq (config-if)#transport input ssh
tariq (config-if)#exit

To show the version of ssh
tariq#sh ip ssh

To change the version of SSH from version 1 to version 2, since  SSH-2 features both security and feature improvements over SSH-1. Better security, for example, comes through Diffie Hellman key exchange and strong integrity checking via message authentication codes.
tariq(config)#ip ssh version 2

The Client uses putty, Tera Term, SecureCrt and others to login into the router using telnet or ssh .

To access a router remotely from another router, use the command
R#ssh -l username IP-address




For more details about how to configure telnet and SSH, watch the video

For more videos, visit my channel on youtube

Wednesday, March 4, 2015

Capture Telnet Password - Sniffing Telnet Password - Capture Telnet Traffic


Telnet protocol  is used to communicate to a remote device. It is used mostly by network administrators to remotely access and manage devices such as routers, switches, servers.

Telnet protocol does not use any authentication and encryption protocols, so it sends all the data in clear text including the passwords. All of the above reasons make the telnet not secure because  the data can be easily read by anyone in the network.

We can use wireshark to capture the  telnet packets that transmitted over the network, and therefore you will access the router and hack the system as you will see in the video link below.

Configuring Telnet
R(config)#line vty 0 4
R(config-if)#password test!tariq
R(config-if)#login
R(config-if)#exit


Related Links:
Assign ip address to cisco layer 2 switch / Assign ip address to vlan
https://youtu.be/Q9SUVmyJr80
Telnet Vs SSH - Difference betweenTelnet and SSH Configuration
https://youtu.be/15pfENww-dk
Configure DHCP on Cisco router - Cisco router as a DHCP Server
https://youtu.be/YTCgVn9X4ac
SSH from cisco router and switch to another
https://youtu.be/_I-0Vgc8E9s
OSPF Cost Calculation and Configuring Bandwidth/ip ospf cost/reference bandwidth
https://youtu.be/zgqaVkQe5Sw
EIGRP Composite Metric Calculation and Configuring different delay values and Bandwidth values
https://youtu.be/GsnV4Bc3On8
Configure / Assign IP address to Cisco Layer 3 Switch
https://youtu.be/s9DMZCq27Ys
Configuring cisco extended acl / extended named access control list tutorial using packet tracer
https://youtu.be/Tj6H8pg06f0
Configure Cisco  Extended ACL/ Extended Numbered Access Control List ACL Using Packet Tracer
https://youtu.be/j0CDNAa2Wqg
Port Forwarding and Static Nat on Cisco Routers - Access your private network from the internet
https://youtu.be/8WVWoW86Uhw
Configure Cisco Named Standard Access Control List ACL on Cisco routers
https://youtu.be/u2zmuRZazFw
How Access List works - Numbered Standard Access List configuring
https://youtu.be/rLci6mFg2BA
Cisco router WAN Redundancy/WAN Failover and Change Routing dynamicaly Using IP SLA - Route Tracking
https://youtu.be/x3xZhbrX7Ww
Cisco Named Access Control Lists Editing (add and delete individual lines+resequence)
https://youtu.be/RToV6h2rGeM
Connecting  GNS3 to Vmware

https://youtu.be/WuLf3ESAx94
How to download and install GNS3 1.2 + adding IOS image to GNS3

https://youtu.be/CXVNpERIPo4
Mikrotik router PPPoE client configuration - Mikrotik PPPoE client Setup
https://youtu.be/aUGL20rjbVA
Add IOS images to GNS3
https://youtu.be/GjxODWeuC5Y
Connect your PC to GNS3 - connecting GNS3 to local machine
https://youtu.be/c_b_-rGWnJc
Configuration register value - changing the configuration register
https://youtu.be/YVAKerOmJpk
Backup and Restore Cisco Configuration file -  Cisco backup Config
https://youtu.be/YMX1EMPjBC0
Capture telnet password using wireshark - Sniffing telnet password using wireshark
https://youtu.be/xShwyUq-uHk
Clock Rate vs Bandwidth - Configuring clock rate and bandwidth
https://youtu.be/rntsm5bHagI
Configure Default routes on cisco routers
https://youtu.be/E5-kpZt8LU4
Configure cisco router hostname and ip address
https://youtu.be/1OYMlMzQ1dE
Cisco Router Password Recovery
https://youtu.be/6shdtrAx9l0
Static Routing Configuration Using Packet Tracer
https://youtu.be/v05Jm4h-Zms

Keywords:
capture telnet username and password
sniffing telnet username and password
Capturing telnet password
Sniffing telnet data
sniffing telnet traffic
how to sniff password with wireshark
sniff telnet password
telnet traffic capturing using wireshark
using wireshark to capture telnet traffic or data
easy capturing telnet password using wireshark
sniffing telnet using wireshark
how to capture passwords through the network
wireshark sniffer
capture telnet session
telnet capture output
capture telnet traffic wireshark
wireshark telnet capture