SSH to a VM with IPv6 remotely [closed]

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP












0














Does anybody have any words of advice on how to perform a remote SSH session with Kali 2018.4 with an IPv6 address? Nowhere I could find an actual guide.



I've already set my router to forward port 22 with my IPv6 (I had a bunch of IPv6's though, not sure which is the correct one.)



EDIT 1:



I have used Kali a number of times in the past, the one issue being in the past, any time I use SSH it has already been set up for me. I am now trying to set that up myself on my home network.



I went about installing OpenSSH on my device and went into the SSH directory and edited the main configuration to remove the # from the line that says to use port 22.



I was then told in a guide I followed (link here) to open a port via port forwarding on my router. I then set up a new port forward using the IPv6 address I pulled from Linux using ifconfig (specifically the IPv6 address for eth0 and went no further. According to the guide, this was good enough, so I went onto my remote device and used 'ssh -6 root@'



Again, I know this is basic but we gotta learn sometime. Also, I did google with a variety of keywords but could not find a guide for it being a VM (using Virtualbox) or IPv6.










share|improve this question















closed as unclear what you're asking by Rui F Ribeiro, JigglyNaga, Michael Hampton, elbarna, Scott Dec 22 '18 at 2:41


Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.










  • 3




    Hello and welcome to U&L SE. Your question is not very clear. Why would creating an SSH session on Kali be different from any other linux? What command are you trying to execute, what is the output? If you want help you need to be more specific. Why do you need port forwarding? Is the VM you're trying to connect to behind a firewall?
    – Panki
    Dec 21 '18 at 9:48










  • Connecting to any host by SSH involves converting the address to an IP then making a connection. That conversion to IP uses DNS. If the destination host is not listed by IPv6 in a DNS system that the source host can reach, then the connection will not happen. Also, searching for SSH IPv6 returns a long list of sources. If you're including Kali in your searches, you're probably not going to get tutorial style results, since including Kali, being an intrusion tool, puts you in the "know what you're doing already" category. So, as politely as possible, please do the research.
    – Xalorous
    Dec 21 '18 at 13:37











  • @Xalorous You assume ssh is invoked with a hostname. The question doesn't specify if ssh was invoked with hostname or IP address. I am guessing it was invoked with an IP address and I am guessing the problem is not related to whether a hostname or an IP address was passed. The question sure could use a lot more detail such as what command was used and what error did it result in.
    – kasperd
    Dec 21 '18 at 14:26










  • Folks I went about editing the initial post to include more information. Thank you all for replying, and to clarify further this is using IP not a hostname. It's also worth noting that I could not utilize the chkconfig command. I did 'apt-get install chkconfig' but had 'Package 'chkconfig' has no installation candidate ' returned to me.
    – Diabetic GuineaPig
    Dec 21 '18 at 14:55







  • 1




    From what I read of your updates and comments, I'm guessing you're running Ubuntu on your computer and you have installed Kali in a VM using Virtual Box, and that you're trying to learn Linux and pen testing all at the same time. So you're looking at two different distros of Linux plus a whole raft of pen tools on top of one. Ubuntu is one of the big distros, currently uses systemd for startup, services, and system configuration, apt-get for packages and has its own gui. Kali is built on knoppix, based on debian, uses dpkg and has Gnome gui.
    – Xalorous
    Dec 21 '18 at 16:53















0














Does anybody have any words of advice on how to perform a remote SSH session with Kali 2018.4 with an IPv6 address? Nowhere I could find an actual guide.



I've already set my router to forward port 22 with my IPv6 (I had a bunch of IPv6's though, not sure which is the correct one.)



EDIT 1:



I have used Kali a number of times in the past, the one issue being in the past, any time I use SSH it has already been set up for me. I am now trying to set that up myself on my home network.



I went about installing OpenSSH on my device and went into the SSH directory and edited the main configuration to remove the # from the line that says to use port 22.



I was then told in a guide I followed (link here) to open a port via port forwarding on my router. I then set up a new port forward using the IPv6 address I pulled from Linux using ifconfig (specifically the IPv6 address for eth0 and went no further. According to the guide, this was good enough, so I went onto my remote device and used 'ssh -6 root@'



Again, I know this is basic but we gotta learn sometime. Also, I did google with a variety of keywords but could not find a guide for it being a VM (using Virtualbox) or IPv6.










share|improve this question















closed as unclear what you're asking by Rui F Ribeiro, JigglyNaga, Michael Hampton, elbarna, Scott Dec 22 '18 at 2:41


Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.










  • 3




    Hello and welcome to U&L SE. Your question is not very clear. Why would creating an SSH session on Kali be different from any other linux? What command are you trying to execute, what is the output? If you want help you need to be more specific. Why do you need port forwarding? Is the VM you're trying to connect to behind a firewall?
    – Panki
    Dec 21 '18 at 9:48










  • Connecting to any host by SSH involves converting the address to an IP then making a connection. That conversion to IP uses DNS. If the destination host is not listed by IPv6 in a DNS system that the source host can reach, then the connection will not happen. Also, searching for SSH IPv6 returns a long list of sources. If you're including Kali in your searches, you're probably not going to get tutorial style results, since including Kali, being an intrusion tool, puts you in the "know what you're doing already" category. So, as politely as possible, please do the research.
    – Xalorous
    Dec 21 '18 at 13:37











  • @Xalorous You assume ssh is invoked with a hostname. The question doesn't specify if ssh was invoked with hostname or IP address. I am guessing it was invoked with an IP address and I am guessing the problem is not related to whether a hostname or an IP address was passed. The question sure could use a lot more detail such as what command was used and what error did it result in.
    – kasperd
    Dec 21 '18 at 14:26










  • Folks I went about editing the initial post to include more information. Thank you all for replying, and to clarify further this is using IP not a hostname. It's also worth noting that I could not utilize the chkconfig command. I did 'apt-get install chkconfig' but had 'Package 'chkconfig' has no installation candidate ' returned to me.
    – Diabetic GuineaPig
    Dec 21 '18 at 14:55







  • 1




    From what I read of your updates and comments, I'm guessing you're running Ubuntu on your computer and you have installed Kali in a VM using Virtual Box, and that you're trying to learn Linux and pen testing all at the same time. So you're looking at two different distros of Linux plus a whole raft of pen tools on top of one. Ubuntu is one of the big distros, currently uses systemd for startup, services, and system configuration, apt-get for packages and has its own gui. Kali is built on knoppix, based on debian, uses dpkg and has Gnome gui.
    – Xalorous
    Dec 21 '18 at 16:53













0












0








0







Does anybody have any words of advice on how to perform a remote SSH session with Kali 2018.4 with an IPv6 address? Nowhere I could find an actual guide.



I've already set my router to forward port 22 with my IPv6 (I had a bunch of IPv6's though, not sure which is the correct one.)



EDIT 1:



I have used Kali a number of times in the past, the one issue being in the past, any time I use SSH it has already been set up for me. I am now trying to set that up myself on my home network.



I went about installing OpenSSH on my device and went into the SSH directory and edited the main configuration to remove the # from the line that says to use port 22.



I was then told in a guide I followed (link here) to open a port via port forwarding on my router. I then set up a new port forward using the IPv6 address I pulled from Linux using ifconfig (specifically the IPv6 address for eth0 and went no further. According to the guide, this was good enough, so I went onto my remote device and used 'ssh -6 root@'



Again, I know this is basic but we gotta learn sometime. Also, I did google with a variety of keywords but could not find a guide for it being a VM (using Virtualbox) or IPv6.










share|improve this question















Does anybody have any words of advice on how to perform a remote SSH session with Kali 2018.4 with an IPv6 address? Nowhere I could find an actual guide.



I've already set my router to forward port 22 with my IPv6 (I had a bunch of IPv6's though, not sure which is the correct one.)



EDIT 1:



I have used Kali a number of times in the past, the one issue being in the past, any time I use SSH it has already been set up for me. I am now trying to set that up myself on my home network.



I went about installing OpenSSH on my device and went into the SSH directory and edited the main configuration to remove the # from the line that says to use port 22.



I was then told in a guide I followed (link here) to open a port via port forwarding on my router. I then set up a new port forward using the IPv6 address I pulled from Linux using ifconfig (specifically the IPv6 address for eth0 and went no further. According to the guide, this was good enough, so I went onto my remote device and used 'ssh -6 root@'



Again, I know this is basic but we gotta learn sometime. Also, I did google with a variety of keywords but could not find a guide for it being a VM (using Virtualbox) or IPv6.







shell ssh remote ipv6






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Dec 28 '18 at 10:49









msp9011

3,78343863




3,78343863










asked Dec 21 '18 at 6:32









Diabetic GuineaPig

11




11




closed as unclear what you're asking by Rui F Ribeiro, JigglyNaga, Michael Hampton, elbarna, Scott Dec 22 '18 at 2:41


Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.






closed as unclear what you're asking by Rui F Ribeiro, JigglyNaga, Michael Hampton, elbarna, Scott Dec 22 '18 at 2:41


Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.









  • 3




    Hello and welcome to U&L SE. Your question is not very clear. Why would creating an SSH session on Kali be different from any other linux? What command are you trying to execute, what is the output? If you want help you need to be more specific. Why do you need port forwarding? Is the VM you're trying to connect to behind a firewall?
    – Panki
    Dec 21 '18 at 9:48










  • Connecting to any host by SSH involves converting the address to an IP then making a connection. That conversion to IP uses DNS. If the destination host is not listed by IPv6 in a DNS system that the source host can reach, then the connection will not happen. Also, searching for SSH IPv6 returns a long list of sources. If you're including Kali in your searches, you're probably not going to get tutorial style results, since including Kali, being an intrusion tool, puts you in the "know what you're doing already" category. So, as politely as possible, please do the research.
    – Xalorous
    Dec 21 '18 at 13:37











  • @Xalorous You assume ssh is invoked with a hostname. The question doesn't specify if ssh was invoked with hostname or IP address. I am guessing it was invoked with an IP address and I am guessing the problem is not related to whether a hostname or an IP address was passed. The question sure could use a lot more detail such as what command was used and what error did it result in.
    – kasperd
    Dec 21 '18 at 14:26










  • Folks I went about editing the initial post to include more information. Thank you all for replying, and to clarify further this is using IP not a hostname. It's also worth noting that I could not utilize the chkconfig command. I did 'apt-get install chkconfig' but had 'Package 'chkconfig' has no installation candidate ' returned to me.
    – Diabetic GuineaPig
    Dec 21 '18 at 14:55







  • 1




    From what I read of your updates and comments, I'm guessing you're running Ubuntu on your computer and you have installed Kali in a VM using Virtual Box, and that you're trying to learn Linux and pen testing all at the same time. So you're looking at two different distros of Linux plus a whole raft of pen tools on top of one. Ubuntu is one of the big distros, currently uses systemd for startup, services, and system configuration, apt-get for packages and has its own gui. Kali is built on knoppix, based on debian, uses dpkg and has Gnome gui.
    – Xalorous
    Dec 21 '18 at 16:53












  • 3




    Hello and welcome to U&L SE. Your question is not very clear. Why would creating an SSH session on Kali be different from any other linux? What command are you trying to execute, what is the output? If you want help you need to be more specific. Why do you need port forwarding? Is the VM you're trying to connect to behind a firewall?
    – Panki
    Dec 21 '18 at 9:48










  • Connecting to any host by SSH involves converting the address to an IP then making a connection. That conversion to IP uses DNS. If the destination host is not listed by IPv6 in a DNS system that the source host can reach, then the connection will not happen. Also, searching for SSH IPv6 returns a long list of sources. If you're including Kali in your searches, you're probably not going to get tutorial style results, since including Kali, being an intrusion tool, puts you in the "know what you're doing already" category. So, as politely as possible, please do the research.
    – Xalorous
    Dec 21 '18 at 13:37











  • @Xalorous You assume ssh is invoked with a hostname. The question doesn't specify if ssh was invoked with hostname or IP address. I am guessing it was invoked with an IP address and I am guessing the problem is not related to whether a hostname or an IP address was passed. The question sure could use a lot more detail such as what command was used and what error did it result in.
    – kasperd
    Dec 21 '18 at 14:26










  • Folks I went about editing the initial post to include more information. Thank you all for replying, and to clarify further this is using IP not a hostname. It's also worth noting that I could not utilize the chkconfig command. I did 'apt-get install chkconfig' but had 'Package 'chkconfig' has no installation candidate ' returned to me.
    – Diabetic GuineaPig
    Dec 21 '18 at 14:55







  • 1




    From what I read of your updates and comments, I'm guessing you're running Ubuntu on your computer and you have installed Kali in a VM using Virtual Box, and that you're trying to learn Linux and pen testing all at the same time. So you're looking at two different distros of Linux plus a whole raft of pen tools on top of one. Ubuntu is one of the big distros, currently uses systemd for startup, services, and system configuration, apt-get for packages and has its own gui. Kali is built on knoppix, based on debian, uses dpkg and has Gnome gui.
    – Xalorous
    Dec 21 '18 at 16:53







3




3




Hello and welcome to U&L SE. Your question is not very clear. Why would creating an SSH session on Kali be different from any other linux? What command are you trying to execute, what is the output? If you want help you need to be more specific. Why do you need port forwarding? Is the VM you're trying to connect to behind a firewall?
– Panki
Dec 21 '18 at 9:48




Hello and welcome to U&L SE. Your question is not very clear. Why would creating an SSH session on Kali be different from any other linux? What command are you trying to execute, what is the output? If you want help you need to be more specific. Why do you need port forwarding? Is the VM you're trying to connect to behind a firewall?
– Panki
Dec 21 '18 at 9:48












Connecting to any host by SSH involves converting the address to an IP then making a connection. That conversion to IP uses DNS. If the destination host is not listed by IPv6 in a DNS system that the source host can reach, then the connection will not happen. Also, searching for SSH IPv6 returns a long list of sources. If you're including Kali in your searches, you're probably not going to get tutorial style results, since including Kali, being an intrusion tool, puts you in the "know what you're doing already" category. So, as politely as possible, please do the research.
– Xalorous
Dec 21 '18 at 13:37





Connecting to any host by SSH involves converting the address to an IP then making a connection. That conversion to IP uses DNS. If the destination host is not listed by IPv6 in a DNS system that the source host can reach, then the connection will not happen. Also, searching for SSH IPv6 returns a long list of sources. If you're including Kali in your searches, you're probably not going to get tutorial style results, since including Kali, being an intrusion tool, puts you in the "know what you're doing already" category. So, as politely as possible, please do the research.
– Xalorous
Dec 21 '18 at 13:37













@Xalorous You assume ssh is invoked with a hostname. The question doesn't specify if ssh was invoked with hostname or IP address. I am guessing it was invoked with an IP address and I am guessing the problem is not related to whether a hostname or an IP address was passed. The question sure could use a lot more detail such as what command was used and what error did it result in.
– kasperd
Dec 21 '18 at 14:26




@Xalorous You assume ssh is invoked with a hostname. The question doesn't specify if ssh was invoked with hostname or IP address. I am guessing it was invoked with an IP address and I am guessing the problem is not related to whether a hostname or an IP address was passed. The question sure could use a lot more detail such as what command was used and what error did it result in.
– kasperd
Dec 21 '18 at 14:26












Folks I went about editing the initial post to include more information. Thank you all for replying, and to clarify further this is using IP not a hostname. It's also worth noting that I could not utilize the chkconfig command. I did 'apt-get install chkconfig' but had 'Package 'chkconfig' has no installation candidate ' returned to me.
– Diabetic GuineaPig
Dec 21 '18 at 14:55





Folks I went about editing the initial post to include more information. Thank you all for replying, and to clarify further this is using IP not a hostname. It's also worth noting that I could not utilize the chkconfig command. I did 'apt-get install chkconfig' but had 'Package 'chkconfig' has no installation candidate ' returned to me.
– Diabetic GuineaPig
Dec 21 '18 at 14:55





1




1




From what I read of your updates and comments, I'm guessing you're running Ubuntu on your computer and you have installed Kali in a VM using Virtual Box, and that you're trying to learn Linux and pen testing all at the same time. So you're looking at two different distros of Linux plus a whole raft of pen tools on top of one. Ubuntu is one of the big distros, currently uses systemd for startup, services, and system configuration, apt-get for packages and has its own gui. Kali is built on knoppix, based on debian, uses dpkg and has Gnome gui.
– Xalorous
Dec 21 '18 at 16:53




From what I read of your updates and comments, I'm guessing you're running Ubuntu on your computer and you have installed Kali in a VM using Virtual Box, and that you're trying to learn Linux and pen testing all at the same time. So you're looking at two different distros of Linux plus a whole raft of pen tools on top of one. Ubuntu is one of the big distros, currently uses systemd for startup, services, and system configuration, apt-get for packages and has its own gui. Kali is built on knoppix, based on debian, uses dpkg and has Gnome gui.
– Xalorous
Dec 21 '18 at 16:53










0






active

oldest

votes

















0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes

Popular posts from this blog

How to check contact read email or not when send email to Individual?

Displaying single band from multi-band raster using QGIS

How many registers does an x86_64 CPU actually have?