The openssh-server package should be installed when you install your kali, to verify; you can use the following command.
# apt list openssh-server
Once it is installed, it will indicate the following
If it is not installed, you can run this command to install it:
# apt install openssh-server
When you are enabling the service, be sure to fully secure SSH first.
since kali comes with pre-generated SSH keys, to make it more secure, the first thing to do is to generate new ones.
first of all backup the original key as a precaution:
# mkdir /etc/ssh/default_keys
# mv /etc/ssh/ssh_host_* /etc/ssh/default_keys/
Then to regenerate the keys, use:
# dpkg-reconfigure openssh-server
The next step is to edit the SSH server configuration file with the settings you need:
# vi /etc/ssh/sshd_config
and uncomment the following lines:
If you only need to temporarily start up the SSH service it’s recommended to use ssh.socket:
# systemctl start ssh.socket
When finished:
# systemctl stop ssh.socket
To instead permanently enable the SSH service to start whenever the system is booted use:
# systemctl enable ssh.service
Then to use SSH immediately without having to reboot use:
# systemctl start ssh.service
To check the status of the service you can use:
# systemctl status ssh.service
To stop the SSH service use:
# systemctl stop ssh.service
And to disable the SSH service so it no longer starts at boot:
# systemctl disable ssh.service
MASTERMIND
(BRAIN AT WORK)
WELCOME
In your persistence, competition has no existence.
REMOTE DESKTOP AND REMOTE ASSISTANCE
REMOTE DESKTOP
Even though they have similar names
and involve connecting to a remote computer, Remote Desktop and Remote
Assistance are used for different things.
Remote Desktop is not enabled by default. You must specifically enable
it to allow remote access to the workstation. When it is enabled, any
member of the Administrators group can connect to the workstation. Other
users must be placed on a remote access list to gain access to the
workstation
Use Remote Desktop to access one
computer from another remotely. For example, you can use Remote Desktop to
connect to your work computer from home. You will have access to all of your
programs, files, and network resources, as if you were sitting in front of your
computer at work. While you are connected, the remote computer screen will
appear to be blank to anyone at the remote location who sees it.
To configure remote access, follow
these steps:
WINDOWS 7
1. Right click on computer, scroll down and select properties
2. On the System properties, click on the Remote tab.
3. To disable Remote Desktop, select Don’t Allow Connections to this Computer, and then click OK. Skip the remaining steps.
4. To enable Remote Desktop, you have two options. You can:
- Select Allow Connections from computers running any version of Remote Desktop to allow connections from any version of Windows.
- Select Allow Connections Only from computers running Remote Desktop with Network Level Authentication (more secure) to allow connections only from Windows 7 or later computers (and computers with secure network authentication).
5.
Click Select Users. This displays the Remote Desktop Users dialog box.
6.
To grant Remote Desktop access to a user, click Add. This opens the Select
Users dialog box.
In the Select Users dialog box,
click Locations to select the computer or domain in which the users you want to
work with are located. Type the name of a user you want to work with in the
Enter The Object Names To Select field, and then click Check Names. If matches
are found, select the account you want to use and then click OK. If no matches
are found, update the name you entered and try searching again. Repeat this step
as necessary, and then click OK.
7. To revoke remote access permissions for a user account, select the account and then click Remove.
8. Click OK when you have finished.
Windows Firewall must be configured
to allow inbound Remote Desktop exceptions. You can configure this on a
per-computer basis in Windows Firewall for the domain profile and the standard
profile. Or if you are using it for a practical purposes, you can disable the
firewall on both systems then, you can connect.
USING REMOTE ASSISTANCE
Use Remote Assistance to give or
receive assistance remotely. For example, a friend or a technical support
person can access your computer to help you with a computer problem or show you
how to do something. You can help someone else the same way. In either case,
both you and the other person see the same computer screen. If you decide to
share control of your computer with your helper, you will both be able to
control the mouse pointer
Apart from using the Remote
Assistance feature, you can also install a third party software like LogMeIn,
Team Viewer etc. To enable you connect to clients and help solve a problem at
hand.
Will be updating the remote assistance soon.
Subscribe to:
Posts (Atom)